Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00385/0.00385, allocations: 150.2 kB / 24.68 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8327/0.8327, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.77e-05, allocations: 10.28 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.004632/0.00465, allocations: 7.137 MB / 326.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007118/0.01177, allocations: 9.814 MB / 336.6 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005467/0.01231, allocations: 87.06 kB / 336.7 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.01339, allocations: 0.7807 MB / 337.5 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.015, allocations: 1.295 MB / 338.8 MB, free: 2.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008613/0.01586, allocations: 0.7185 MB / 339.5 MB, free: 1.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.01778, allocations: 2.776 MB / 342.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.01802, allocations: 222.2 kB / 342.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.01852, allocations: 0.8104 MB / 343.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.01887, allocations: 446.3 kB / 343.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.01893, allocations: 68 kB / 343.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007284/0.01966, allocations: 0.7024 MB / 344.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.01978, allocations: 218.6 kB / 344.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.02006, allocations: 438.6 kB / 345.2 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.02147, allocations: 2.161 MB / 347.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.02148, allocations: 0 / 347.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02148, allocations: 0 / 347.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.02149, allocations: 4 kB / 347.3 MB, free: 10.05 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001787/0.02328, allocations: 2.19 MB / 349.5 MB, free: 7.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.02331, allocations: 8.922 kB / 349.5 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.02346, allocations: 239.4 kB / 349.8 MB, free: 7.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.0246, allocations: 1.215 MB / 351 MB, free: 6.273 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.02462, allocations: 41.69 kB / 351 MB, free: 6.234 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/0.02469, allocations: 56.33 kB / 351.1 MB, free: 6.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007375/0.02542, allocations: 0.7306 MB / 351.8 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.02544, allocations: 0 / 351.8 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.02547, allocations: 20 kB / 351.8 MB, free: 5.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.02548, allocations: 19.98 kB / 351.8 MB, free: 5.391 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007647/0.02625, allocations: 0.5673 MB / 352.4 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.02828, allocations: 2.226 MB / 354.6 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/0.02895, allocations: 0.5683 MB / 355.2 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/0.02943, allocations: 490.2 kB / 355.7 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003816/0.03325, allocations: 2.92 MB / 358.6 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004747/0.03372, allocations: 387 kB / 359 MB, free: 14.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 1.663e-06/0.03373, allocations: 0 / 359 MB, free: 14.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=67): time 0.003152/0.03688, allocations: 1.985 MB / 361 MB, free: 12.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.03693, allocations: 85.61 kB / 361.1 MB, free: 12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.03798, allocations: 1.443 MB / 362.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.03802, allocations: 37.7 kB / 362.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005917/0.03861, allocations: 0.7983 MB / 363.3 MB, free: 9.664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.03872, allocations: 234 kB / 363.6 MB, free: 9.434 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.03884, allocations: 142.6 kB / 363.7 MB, free: 9.289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.03893, allocations: 337.9 kB / 364 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.03926, allocations: 249.9 kB / 364.3 MB, free: 8.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.03968, allocations: 483.8 kB / 364.7 MB, free: 8.145 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007548/0.04044, allocations: 0.7326 MB / 365.5 MB, free: 7.328 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.04044, allocations: 0 / 365.5 MB, free: 7.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001118/0.04156, allocations: 1.121 MB / 366.6 MB, free: 6.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.04158, allocations: 8 kB / 366.6 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.778e-05/0.04164, allocations: 72.72 kB / 366.7 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007378/0.04237, allocations: 0.7001 MB / 367.4 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.04261, allocations: 111.8 kB / 367.5 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008518/0.04346, allocations: 1.125 MB / 368.6 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.04375, allocations: 95.53 kB / 368.7 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.04379, allocations: 32 kB / 368.7 MB, free: 4.031 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0002881/0.04408, allocations: 289.7 kB / 369 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.04419, allocations: 206.7 kB / 369.2 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.04545, allocations: 1.066 MB / 370.3 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.04546, allocations: 4 kB / 370.3 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.04546, allocations: 3.938 kB / 370.3 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.04547, allocations: 4 kB / 370.3 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.04607, allocations: 0.8021 MB / 371.1 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.882e-05/0.04612, allocations: 68 kB / 371.2 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.04628, allocations: 55.94 kB / 371.2 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006219/0.0469, allocations: 0.6592 MB / 371.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.04693, allocations: 19.98 kB / 371.9 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007554/0.04769, allocations: 1.092 MB / 373 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.04769, allocations: 3.938 kB / 373 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.04909, allocations: 1.331 MB / 374.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.04929, allocations: 206.6 kB / 374.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/0.04937, allocations: 15.98 kB / 374.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.04958, allocations: 35.91 kB / 374.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.04968, allocations: 52.41 kB / 374.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.04971, allocations: 27.94 kB / 374.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006893/0.0504, allocations: 0.9449 MB / 375.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0504, allocations: 0 / 375.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005492/0.05095, allocations: 431 kB / 376 MB, free: 12.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005411/0.05149, allocations: 0.5073 MB / 376.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.05262, allocations: 0.8084 MB / 377.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.05262, allocations: 0 / 377.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000578/0.0532, allocations: 486.2 kB / 377.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.05372, allocations: 215.1 kB / 378 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.05671, allocations: 3.001 MB / 381 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.05708, allocations: 0.6338 MB / 381.7 MB, free: 6.859 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.05718, allocations: 80.48 kB / 381.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.05718, allocations: 4 kB / 381.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of Templates: time 0.01999/0.07717, allocations: 25.81 MB / 407.6 MB, free: 12.96 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.897231509909034]