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.0008928/0.0008928, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009809/0.0009809, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9351/0.9351, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.412e-06/1.412e-06, allocations: 0 / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.701e-05, allocations: 2.312 kB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007731/0.007748, allocations: 7.786 MB / 281.3 MB, free: 9.438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1121/0.1198, allocations: 10.75 MB / 292 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.121, allocations: 84.91 kB / 292.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.1228, allocations: 0.8003 MB / 292.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.1258, allocations: 1.28 MB / 294.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.1273, allocations: 0.6212 MB / 294.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003057/0.1303, allocations: 2.866 MB / 297.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/0.1307, allocations: 244 kB / 297.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.1321, allocations: 1.147 MB / 299.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007152/0.1328, allocations: 486.5 kB / 299.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.1329, allocations: 66.75 kB / 299.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.1344, allocations: 0.8053 MB / 300.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.1346, allocations: 230 kB / 300.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004019/0.135, allocations: 441.5 kB / 301.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.1365, allocations: 1.638 MB / 302.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1365, allocations: 0 / 302.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1365, allocations: 0 / 302.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.116e-05/0.1366, allocations: 0 / 302.7 MB, free: 12.39 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.002249/0.1388, allocations: 2.168 MB / 304.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1388, allocations: 9.25 kB / 304.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/0.1392, allocations: 202.8 kB / 305.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.1404, allocations: 1.065 MB / 306.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.1404, allocations: 41.81 kB / 306.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/0.1405, allocations: 56.19 kB / 306.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.1411, allocations: 0.5145 MB / 306.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1411, allocations: 7.406 kB / 306.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.1411, allocations: 25.44 kB / 306.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.1411, allocations: 21.03 kB / 306.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.1414, allocations: 192 kB / 307 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.1432, allocations: 1.558 MB / 308.6 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.1435, allocations: 357.4 kB / 308.9 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.1438, allocations: 280.2 kB / 309.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004232/0.148, allocations: 3.048 MB / 312.2 MB, free: 6.742 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.1482, allocations: 233.6 kB / 312.5 MB, free: 6.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 2.264e-06/0.1483, allocations: 4 kB / 312.5 MB, free: 6.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002724/0.151, allocations: 1.353 MB / 313.8 MB, free: 5.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.151, allocations: 92.42 kB / 313.9 MB, free: 5.066 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000769/0.1518, allocations: 1.303 MB / 315.2 MB, free: 3.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.1518, allocations: 37.7 kB / 315.2 MB, free: 3.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.152, allocations: 478.6 kB / 315.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.1521, allocations: 232 kB / 315.9 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.1523, allocations: 131.1 kB / 316.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.1523, allocations: 344.8 kB / 316.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1524, allocations: 77.97 kB / 316.5 MB, free: 2.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.1526, allocations: 313.6 kB / 316.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.153, allocations: 448.5 kB / 317.2 MB, free: 1.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.153, allocations: 0 / 317.2 MB, free: 1.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006754/0.1537, allocations: 0.5929 MB / 317.8 MB, free: 1.406 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1537, allocations: 11.94 kB / 317.8 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.548e-05/0.1538, allocations: 12 kB / 317.8 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006986/0.1545, allocations: 0.5332 MB / 318.4 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.1547, allocations: 121.8 kB / 318.5 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000573/0.1553, allocations: 0.8131 MB / 319.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.1557, allocations: 75.5 kB / 319.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.1557, allocations: 27.98 kB / 319.4 MB, free: 15.83 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.0002119/0.1559, allocations: 158.5 kB / 319.6 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.1561, allocations: 150.9 kB / 319.7 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009104/0.157, allocations: 0.6115 MB / 320.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.157, allocations: 8 kB / 320.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.157, allocations: 0 / 320.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.157, allocations: 7.984 kB / 320.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006256/0.1576, allocations: 0.5487 MB / 320.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.852e-05/0.1577, allocations: 8 kB / 320.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.1579, allocations: 55.14 kB / 320.9 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007353/0.1586, allocations: 0.5192 MB / 321.5 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.1587, allocations: 19.92 kB / 321.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006193/0.1593, allocations: 0.7835 MB / 322.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1593, allocations: 7 kB / 322.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008134/0.1601, allocations: 0.6256 MB / 322.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.1604, allocations: 190.5 kB / 323.1 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.1605, allocations: 15.98 kB / 323.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.1607, allocations: 19.98 kB / 323.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-05/0.1608, allocations: 36.42 kB / 323.2 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.1609, allocations: 15.98 kB / 323.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005519/0.1614, allocations: 0.6743 MB / 323.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1614, allocations: 0 / 323.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000719/0.1621, allocations: 450.1 kB / 324.3 MB, free: 11.11 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.0006923/0.1628, allocations: 0.5491 MB / 324.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007669/0.1636, allocations: 477.5 kB / 325.3 MB, free: 10.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.949e-05/0.1636, allocations: 20 kB / 325.3 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.1641, allocations: 309.2 kB / 325.6 MB, free: 9.828 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.1646, allocations: 222.6 kB / 325.8 MB, free: 9.617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.1672, allocations: 2.493 MB / 328.3 MB, free: 7.094 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.1674, allocations: 243.9 kB / 328.6 MB, free: 6.832 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000256/0.1676, allocations: 158.1 kB / 328.7 MB, free: 6.676 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.1679, allocations: 237.3 kB / 329 MB, free: 6.441 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1679, allocations: 0 / 329 MB, free: 6.441 MB / 282.7 MB Notification: Performance of Templates: time 0.01906/0.1869, allocations: 16.6 MB / 345.6 MB, free: 6.059 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 -s gbode -gbm=radauIIA3 -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.9933219384402037]