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.001348/0.001348, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00215/0.003498, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.00102/0.00102, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.002111, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.005/1.005, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1883/1.193, allocations: 49.49 MB / 220.7 MB, free: 1.363 MB / 218.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 2.003e-06/2.003e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.87e-05, allocations: 2.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.006991/0.007019, allocations: 7.662 MB / 229.7 MB, free: 8.363 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.0185, allocations: 10.42 MB / 240.1 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.02012, allocations: 87.06 kB / 240.2 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.02197, allocations: 0.7856 MB / 241 MB, free: 13.01 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003675/0.02564, allocations: 1.262 MB / 242.2 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.02729, allocations: 0.6103 MB / 242.8 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003946/0.03124, allocations: 2.737 MB / 245.6 MB, free: 8.375 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004656/0.03171, allocations: 236.2 kB / 245.8 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.03348, allocations: 1.343 MB / 247.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006641/0.03414, allocations: 490.4 kB / 247.6 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.03425, allocations: 64 kB / 247.7 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.03589, allocations: 0.764 MB / 248.4 MB, free: 5.414 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.03602, allocations: 178.8 kB / 248.6 MB, free: 5.238 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003897/0.03641, allocations: 394.8 kB / 249 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.03838, allocations: 1.479 MB / 250.5 MB, free: 3.367 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-05/0.0384, allocations: 0 / 250.5 MB, free: 3.367 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.0384, allocations: 0 / 250.5 MB, free: 3.367 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.634e-05/0.03848, allocations: 0 / 250.5 MB, free: 3.367 MB / 250.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.002475/0.04096, allocations: 2.595 MB / 253.1 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.04099, allocations: 12.03 kB / 253.1 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.0412, allocations: 188.7 kB / 253.3 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.04231, allocations: 1.063 MB / 254.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.04234, allocations: 41.44 kB / 254.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.526e-05/0.04241, allocations: 63.94 kB / 254.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/0.043, allocations: 0.5153 MB / 255 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.04302, allocations: 0 / 255 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.04305, allocations: 28 kB / 255 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.04307, allocations: 23.97 kB / 255 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.04333, allocations: 189.2 kB / 255.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.04517, allocations: 1.556 MB / 256.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.0455, allocations: 358.5 kB / 257.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005555/0.04606, allocations: 282.2 kB / 257.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004003/0.05006, allocations: 3.032 MB / 260.4 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003042/0.05036, allocations: 234.9 kB / 260.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 1.733e-06/0.05037, allocations: 8 kB / 260.6 MB, free: 8.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002335/0.0527, allocations: 1.347 MB / 262 MB, free: 7.543 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.05274, allocations: 71.83 kB / 262.1 MB, free: 7.461 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008427/0.05358, allocations: 1.298 MB / 263.4 MB, free: 6.125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.05361, allocations: 37.7 kB / 263.4 MB, free: 6.082 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.05387, allocations: 477.5 kB / 263.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.05401, allocations: 234 kB / 264.1 MB, free: 5.371 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.05413, allocations: 130.5 kB / 264.2 MB, free: 5.238 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005301/0.05466, allocations: 341.9 kB / 264.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.05477, allocations: 73.97 kB / 264.6 MB, free: 4.828 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.05501, allocations: 319.9 kB / 264.9 MB, free: 4.426 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.05542, allocations: 462.2 kB / 265.4 MB, free: 3.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.05542, allocations: 4 kB / 265.4 MB, free: 3.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006789/0.0561, allocations: 0.5949 MB / 266 MB, free: 3.285 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.05612, allocations: 8 kB / 266 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-05/0.05619, allocations: 19.98 kB / 266 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006123/0.0568, allocations: 0.5371 MB / 266.5 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.05703, allocations: 119.8 kB / 266.7 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006003/0.05763, allocations: 0.8108 MB / 267.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.05797, allocations: 91.38 kB / 267.6 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.05801, allocations: 20 kB / 267.6 MB, free: 1.652 MB / 266.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.0002134/0.05822, allocations: 153.7 kB / 267.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.05835, allocations: 143.8 kB / 267.9 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008182/0.05917, allocations: 0.6136 MB / 268.5 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.05917, allocations: 4 kB / 268.5 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.05918, allocations: 0 / 268.5 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.05918, allocations: 7.984 kB / 268.5 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.05985, allocations: 0.551 MB / 269 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.721e-05/0.0599, allocations: 8 kB / 269.1 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.06005, allocations: 63.95 kB / 269.1 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.06026, allocations: 190.7 kB / 269.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005618/0.06082, allocations: 0.5109 MB / 269.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.06085, allocations: 12 kB / 269.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000539/0.06139, allocations: 0.7803 MB / 270.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.06139, allocations: 3.75 kB / 270.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.06207, allocations: 0.6451 MB / 271.3 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.304e-05/0.06215, allocations: 8 kB / 271.3 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.06233, allocations: 27.97 kB / 271.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/0.06242, allocations: 40.42 kB / 271.3 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.06245, allocations: 19.98 kB / 271.3 MB, free: 13.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009145/0.06336, allocations: 0.6744 MB / 272 MB, free: 13.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.06336, allocations: 3.938 kB / 272 MB, free: 13.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008343/0.06419, allocations: 446.9 kB / 272.5 MB, free: 12.64 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.000767/0.06496, allocations: 0.5402 MB / 273 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008121/0.06577, allocations: 491 kB / 273.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.927e-05/0.0658, allocations: 27.98 kB / 273.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005131/0.06632, allocations: 323.3 kB / 273.8 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.06756, allocations: 1.534 MB / 275.4 MB, free: 9.453 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005567/0.07313, allocations: 2.507 MB / 277.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.07331, allocations: 240 kB / 278.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003649/0.07367, allocations: 158.2 kB / 278.3 MB, free: 6.484 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006239/0.0743, allocations: 237.3 kB / 278.5 MB, free: 6.25 MB / 282.7 MB Notification: Performance of SimCode: time 1.342e-06/0.0743, allocations: 0 / 278.5 MB, free: 6.25 MB / 282.7 MB Notification: Performance of Templates: time 0.1462/0.2205, allocations: 16.92 MB / 295.4 MB, free: 43.66 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3002712884917855]