Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001281/0.001281, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001419/0.001419, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8958/0.8958, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 273.5 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.097e-06/1.012e-05, allocations: 2.312 kB / 273.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007094/0.007104, allocations: 7.751 MB / 281.2 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.122/0.1291, allocations: 10.74 MB / 291.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007423/0.1299, allocations: 83.41 kB / 292 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.1312, allocations: 0.7992 MB / 292.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.1334, allocations: 1.316 MB / 294.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.1345, allocations: 0.7206 MB / 294.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002111/0.1366, allocations: 2.866 MB / 297.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.1369, allocations: 247.2 kB / 298 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008887/0.1378, allocations: 1.14 MB / 299.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004476/0.1382, allocations: 494.1 kB / 299.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.822e-05/0.1383, allocations: 66.53 kB / 299.7 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000853/0.1392, allocations: 0.7124 MB / 300.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.1393, allocations: 226.9 kB / 300.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003351/0.1396, allocations: 447.1 kB / 301 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.1407, allocations: 1.634 MB / 302.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1407, allocations: 0 / 302.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1407, allocations: 1.375 kB / 302.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.1407, allocations: 0 / 302.7 MB, free: 12.44 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.001555/0.1423, allocations: 2.163 MB / 304.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.1423, allocations: 9.875 kB / 304.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.1426, allocations: 206.7 kB / 305 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008415/0.1434, allocations: 1.063 MB / 306.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.1434, allocations: 42.72 kB / 306.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.1435, allocations: 57.12 kB / 306.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.1439, allocations: 0.5106 MB / 306.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1439, allocations: 3.938 kB / 306.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.144, allocations: 21.59 kB / 306.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.144, allocations: 24.34 kB / 306.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.1442, allocations: 196.3 kB / 307 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.1455, allocations: 1.552 MB / 308.5 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.1458, allocations: 359.2 kB / 308.9 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.146, allocations: 283 kB / 309.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003284/0.1493, allocations: 3.047 MB / 312.2 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.1495, allocations: 235.6 kB / 312.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 1.734e-06/0.1495, allocations: 0 / 312.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002018/0.1515, allocations: 1.356 MB / 313.8 MB, free: 5.191 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.1515, allocations: 88.7 kB / 313.9 MB, free: 5.086 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005138/0.152, allocations: 1.307 MB / 315.2 MB, free: 4.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.152, allocations: 37.7 kB / 315.2 MB, free: 3.965 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.1522, allocations: 471.6 kB / 315.7 MB, free: 3.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.1523, allocations: 241.6 kB / 315.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.1524, allocations: 132.5 kB / 316 MB, free: 3.238 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.795e-05/0.1524, allocations: 343.7 kB / 316.4 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.1525, allocations: 77.97 kB / 316.4 MB, free: 2.836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1526, allocations: 307.8 kB / 316.7 MB, free: 2.469 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.1529, allocations: 450.1 kB / 317.2 MB, free: 1.988 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1529, allocations: 0 / 317.2 MB, free: 1.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0004774/0.1533, allocations: 0.5933 MB / 317.8 MB, free: 1.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1534, allocations: 11.94 kB / 317.8 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.106e-05/0.1534, allocations: 12 kB / 317.8 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005078/0.1539, allocations: 0.5336 MB / 318.3 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.1541, allocations: 115.9 kB / 318.4 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004378/0.1545, allocations: 0.8114 MB / 319.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.1548, allocations: 79.5 kB / 319.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.1548, allocations: 21.8 kB / 319.3 MB, free: 15.86 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.0001819/0.155, allocations: 165.5 kB / 319.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.1551, allocations: 146.6 kB / 319.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006824/0.1558, allocations: 0.6115 MB / 320.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.1558, allocations: 4 kB / 320.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.1558, allocations: 8 kB / 320.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1558, allocations: 3.984 kB / 320.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.1563, allocations: 0.55 MB / 320.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.89e-05/0.1563, allocations: 12.92 kB / 320.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.1565, allocations: 50.12 kB / 320.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005453/0.157, allocations: 0.5157 MB / 321.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.157, allocations: 19.92 kB / 321.4 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005244/0.1576, allocations: 0.7843 MB / 322.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1576, allocations: 0.875 kB / 322.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007196/0.1583, allocations: 0.6275 MB / 322.8 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.1585, allocations: 188.9 kB / 323 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.466e-05/0.1586, allocations: 8 kB / 323 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.1588, allocations: 27.97 kB / 323.1 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.1588, allocations: 36.42 kB / 323.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.1589, allocations: 15.98 kB / 323.1 MB, free: 12.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004028/0.1593, allocations: 0.6733 MB / 323.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1593, allocations: 0 / 323.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005041/0.1598, allocations: 446.9 kB / 324.2 MB, free: 11.14 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.000551/0.1603, allocations: 0.554 MB / 324.8 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005761/0.1609, allocations: 481.1 kB / 325.2 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/0.1609, allocations: 20 kB / 325.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.1613, allocations: 310.9 kB / 325.6 MB, free: 9.855 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1618, allocations: 221.3 kB / 325.8 MB, free: 9.641 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.1643, allocations: 2.496 MB / 328.3 MB, free: 7.117 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.1644, allocations: 236 kB / 328.5 MB, free: 6.863 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002525/0.1647, allocations: 162.1 kB / 328.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.1649, allocations: 237.3 kB / 328.9 MB, free: 6.473 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1649, allocations: 0 / 328.9 MB, free: 6.473 MB / 282.7 MB Notification: Performance of Templates: time 0.01924/0.1841, allocations: 16.6 MB / 345.5 MB, free: 6.086 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.8281872300431132]