Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009242/0.0009242, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009566/0.0009566, allocations: 163.9 kB / 25.7 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8564/0.8564, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.788e-05, allocations: 6.25 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.005572/0.00559, allocations: 7.587 MB / 259.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009581/0.01517, allocations: 10.37 MB / 269.5 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008559/0.01603, allocations: 87.06 kB / 269.6 MB, free: 5.121 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.01733, allocations: 0.7899 MB / 270.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.01953, allocations: 1.293 MB / 271.7 MB, free: 3.023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.02064, allocations: 0.7206 MB / 272.4 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002244/0.02288, allocations: 2.788 MB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.02315, allocations: 244.2 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008251/0.02398, allocations: 1.072 MB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.02439, allocations: 490.4 kB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.528e-05/0.02448, allocations: 64 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008007/0.02528, allocations: 0.6752 MB / 277.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.02541, allocations: 234.5 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.02574, allocations: 438.7 kB / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.02688, allocations: 1.623 MB / 280 MB, free: 10.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.02688, allocations: 3.938 kB / 280 MB, free: 10.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.02688, allocations: 0 / 280 MB, free: 10.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.02689, allocations: 0 / 280 MB, free: 10.64 MB / 266.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.00175/0.02864, allocations: 2.16 MB / 282.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.02868, allocations: 12.03 kB / 282.2 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.02889, allocations: 192.7 kB / 282.4 MB, free: 8.238 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.03017, allocations: 1.063 MB / 283.4 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.03021, allocations: 45.42 kB / 283.5 MB, free: 7.043 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-05/0.03029, allocations: 55.95 kB / 283.5 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007837/0.03107, allocations: 0.5231 MB / 284 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.03109, allocations: 0 / 284 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/0.03113, allocations: 20 kB / 284.1 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.03115, allocations: 23.98 kB / 284.1 MB, free: 6.398 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.03148, allocations: 189.1 kB / 284.3 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.03358, allocations: 1.556 MB / 285.8 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.03396, allocations: 350.4 kB / 286.2 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.03425, allocations: 286.3 kB / 286.4 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005341/0.03959, allocations: 3.032 MB / 289.5 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003002/0.03989, allocations: 234.9 kB / 289.7 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 2.114e-06/0.0399, allocations: 0 / 289.7 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.003104/0.043, allocations: 1.359 MB / 291.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.04305, allocations: 89.61 kB / 291.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009761/0.04402, allocations: 1.305 MB / 292.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.04406, allocations: 37.7 kB / 292.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.04436, allocations: 473.5 kB / 293 MB, free: 13.3 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.0445, allocations: 234 kB / 293.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.04465, allocations: 130.5 kB / 293.3 MB, free: 12.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.04474, allocations: 341.9 kB / 293.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.04486, allocations: 77.97 kB / 293.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.0451, allocations: 311.9 kB / 294 MB, free: 12.13 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.04554, allocations: 450.1 kB / 294.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.04555, allocations: 7.984 kB / 294.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007482/0.0463, allocations: 0.5872 MB / 295.1 MB, free: 11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.04631, allocations: 8 kB / 295.1 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.3e-05/0.04638, allocations: 19.98 kB / 295.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007846/0.04716, allocations: 0.537 MB / 295.6 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.04744, allocations: 107.8 kB / 295.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006946/0.04814, allocations: 0.8185 MB / 296.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.04851, allocations: 83.44 kB / 296.6 MB, free: 9.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.04856, allocations: 24 kB / 296.7 MB, free: 9.383 MB / 282.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.0002282/0.04879, allocations: 153.7 kB / 296.8 MB, free: 9.223 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.04894, allocations: 143.8 kB / 296.9 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009074/0.04985, allocations: 0.6098 MB / 297.6 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.04985, allocations: 4 kB / 297.6 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.04985, allocations: 0 / 297.6 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.04986, allocations: 3.984 kB / 297.6 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007988/0.05066, allocations: 0.5588 MB / 298.1 MB, free: 7.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.294e-05/0.05071, allocations: 12 kB / 298.1 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.05089, allocations: 51.89 kB / 298.2 MB, free: 7.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007306/0.05162, allocations: 0.5148 MB / 298.7 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.05165, allocations: 8 kB / 298.7 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006334/0.05228, allocations: 0.7882 MB / 299.5 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.05228, allocations: 7.984 kB / 299.5 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008119/0.0531, allocations: 0.6251 MB / 300.1 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.05335, allocations: 186.5 kB / 300.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.05347, allocations: 8 kB / 300.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.05374, allocations: 31.97 kB / 300.3 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.05382, allocations: 44.36 kB / 300.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.05386, allocations: 15.98 kB / 300.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005587/0.05442, allocations: 0.6744 MB / 301.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05442, allocations: 0 / 301.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007145/0.05513, allocations: 446.9 kB / 301.5 MB, free: 4.391 MB / 282.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.0006835/0.05581, allocations: 0.5442 MB / 302.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007537/0.05657, allocations: 469.9 kB / 302.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.097e-05/0.05659, allocations: 20.12 kB / 302.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004698/0.05706, allocations: 308.1 kB / 302.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.05759, allocations: 191 kB / 303 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.06103, allocations: 2.499 MB / 305.5 MB, free: 304 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.0612, allocations: 239.9 kB / 305.8 MB, free: 40 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000331/0.06153, allocations: 162.2 kB / 305.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.06183, allocations: 245.2 kB / 306.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.06183, allocations: 0 / 306.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of Templates: time 0.02245/0.08428, allocations: 16.52 MB / 322.7 MB, free: 15.14 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.888111788313836]