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.001048/0.001048, allocations: 76.81 kB / 22.29 MB, free: 2.191 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.001336/0.001336, allocations: 158.9 kB / 25.69 MB, free: 8.77 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.9561/0.9561, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.012e-06/1.012e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.808e-05/4.909e-05, allocations: 2.312 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.005587/0.005636, allocations: 7.642 MB / 259.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00917/0.01481, allocations: 10.37 MB / 269.6 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005558/0.01536, allocations: 87.06 kB / 269.7 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.01654, allocations: 0.7937 MB / 270.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.01872, allocations: 1.262 MB / 271.7 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009786/0.01969, allocations: 0.6142 MB / 272.3 MB, free: 2.352 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002015/0.02171, allocations: 2.792 MB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.02197, allocations: 244.2 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007761/0.02274, allocations: 1.084 MB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.02317, allocations: 486.4 kB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.153e-05/0.02324, allocations: 68 kB / 277 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009254/0.02417, allocations: 0.7602 MB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.02429, allocations: 226.6 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002882/0.02457, allocations: 450.6 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.02603, allocations: 1.619 MB / 280 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.02604, allocations: 0 / 280 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.02604, allocations: 0 / 280 MB, free: 10.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.02605, allocations: 0 / 280 MB, free: 10.6 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.001581/0.02763, allocations: 2.16 MB / 282.2 MB, free: 8.395 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.02766, allocations: 12.03 kB / 282.2 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.02782, allocations: 188.7 kB / 282.4 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009731/0.02879, allocations: 1.063 MB / 283.5 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.02881, allocations: 41.44 kB / 283.5 MB, free: 7.008 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.02888, allocations: 63.88 kB / 283.6 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.02937, allocations: 0.5192 MB / 284.1 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.02938, allocations: 0 / 284.1 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.02941, allocations: 20 kB / 284.1 MB, free: 6.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.02943, allocations: 20 kB / 284.1 MB, free: 6.363 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.02967, allocations: 193.2 kB / 284.3 MB, free: 6.172 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.03117, allocations: 1.556 MB / 285.9 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.03144, allocations: 350.5 kB / 286.2 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.03167, allocations: 282.3 kB / 286.5 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003473/0.03514, allocations: 3.036 MB / 289.5 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.03536, allocations: 231 kB / 289.7 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 1.613e-06/0.03536, allocations: 0 / 289.7 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002178/0.03754, allocations: 1.359 MB / 291.1 MB, free: 15.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.03758, allocations: 93.53 kB / 291.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006828/0.03826, allocations: 1.301 MB / 292.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.03829, allocations: 37.7 kB / 292.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.03851, allocations: 477.4 kB / 293 MB, free: 13.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.03861, allocations: 230 kB / 293.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.03873, allocations: 134.5 kB / 293.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.0388, allocations: 337.8 kB / 293.7 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.141e-05/0.03889, allocations: 81.97 kB / 293.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.03908, allocations: 319.9 kB / 294.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.0394, allocations: 438.2 kB / 294.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.0394, allocations: 4 kB / 294.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005436/0.03995, allocations: 0.5987 MB / 295.1 MB, free: 10.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.03996, allocations: 4 kB / 295.1 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.164e-05/0.04001, allocations: 19.98 kB / 295.1 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/0.0406, allocations: 0.5372 MB / 295.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.04082, allocations: 115.8 kB / 295.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005264/0.04135, allocations: 0.8108 MB / 296.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.04159, allocations: 83.45 kB / 296.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.04162, allocations: 20 kB / 296.7 MB, free: 9.352 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.000173/0.0418, allocations: 161.6 kB / 296.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.0419, allocations: 147.8 kB / 297 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006791/0.04258, allocations: 0.6059 MB / 297.6 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.04259, allocations: 4 kB / 297.6 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.04259, allocations: 0 / 297.6 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.04259, allocations: 11.98 kB / 297.6 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.04302, allocations: 0.551 MB / 298.2 MB, free: 7.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.175e-05/0.04307, allocations: 15.92 kB / 298.2 MB, free: 7.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.04321, allocations: 55.95 kB / 298.2 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005466/0.04376, allocations: 0.5215 MB / 298.8 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.04378, allocations: 8 kB / 298.8 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004811/0.04427, allocations: 0.7921 MB / 299.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.04427, allocations: 0 / 299.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006061/0.04487, allocations: 0.633 MB / 300.2 MB, free: 5.746 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.04504, allocations: 182.5 kB / 300.4 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/0.04513, allocations: 12 kB / 300.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.04531, allocations: 19.98 kB / 300.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.04539, allocations: 44.41 kB / 300.4 MB, free: 5.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.04541, allocations: 12 kB / 300.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004037/0.04581, allocations: 0.6783 MB / 301.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.04581, allocations: 0 / 301.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004716/0.04629, allocations: 446.9 kB / 301.6 MB, free: 4.34 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.0005745/0.04686, allocations: 0.5441 MB / 302.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006317/0.04749, allocations: 470 kB / 302.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.85e-05/0.04751, allocations: 20 kB / 302.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.04789, allocations: 316 kB / 302.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.04829, allocations: 203 kB / 303.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.05085, allocations: 2.483 MB / 305.6 MB, free: 252 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.05099, allocations: 239.9 kB / 305.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002455/0.05124, allocations: 162.1 kB / 306 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.05148, allocations: 241.2 kB / 306.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.05148, allocations: 0 / 306.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of Templates: time 0.01951/0.07099, allocations: 16.54 MB / 322.8 MB, free: 15.07 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 -s gbode -gbm=radauIIA3 -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: 3.0882776975631714]