Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008905/0.0008905, allocations: 140 kB / 24.89 MB, free: 9.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.018/1.018, allocations: 173.3 MB / 201.5 MB, free: 9.215 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.841e-05, allocations: 6.312 kB / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.005577/0.005595, allocations: 7.787 MB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.016, allocations: 10.7 MB / 287 MB, free: 3.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.01703, allocations: 83.12 kB / 287.1 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.01859, allocations: 0.8133 MB / 287.9 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.02171, allocations: 1.274 MB / 289.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.02336, allocations: 0.6259 MB / 289.8 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1149/0.1383, allocations: 2.827 MB / 292.6 MB, free: 16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005101/0.1388, allocations: 239.6 kB / 292.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.1405, allocations: 1.12 MB / 294 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008355/0.1413, allocations: 495 kB / 294.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.1415, allocations: 69.66 kB / 294.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.1434, allocations: 0.7856 MB / 295.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.1435, allocations: 224.9 kB / 295.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000663/0.1442, allocations: 446.6 kB / 296 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.1465, allocations: 1.623 MB / 297.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1465, allocations: 0 / 297.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1465, allocations: 1.375 kB / 297.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.046e-05/0.1466, allocations: 4.703 kB / 297.6 MB, free: 15.3 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.002954/0.1495, allocations: 2.16 MB / 299.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1496, allocations: 9.859 kB / 299.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.1499, allocations: 188.4 kB / 300 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.1514, allocations: 1.067 MB / 301 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.1514, allocations: 42.45 kB / 301.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-05/0.1515, allocations: 56.56 kB / 301.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007511/0.1523, allocations: 0.5109 MB / 301.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1523, allocations: 7.938 kB / 301.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.1523, allocations: 20.69 kB / 301.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.1523, allocations: 21.05 kB / 301.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.1527, allocations: 191.8 kB / 301.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.1548, allocations: 1.553 MB / 303.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.1552, allocations: 360.9 kB / 303.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.1554, allocations: 280 kB / 304 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004362/0.1598, allocations: 3.046 MB / 307.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.16, allocations: 229.4 kB / 307.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 2.915e-06/0.16, allocations: 0 / 307.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002271/0.1623, allocations: 1.348 MB / 308.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.1623, allocations: 92.38 kB / 308.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007297/0.1631, allocations: 1.302 MB / 310.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.1631, allocations: 36.27 kB / 310.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.1633, allocations: 476.5 kB / 310.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.1634, allocations: 237 kB / 310.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.1635, allocations: 135 kB / 310.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.926e-05/0.1635, allocations: 342.3 kB / 311.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.1636, allocations: 77.34 kB / 311.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.1638, allocations: 306.9 kB / 311.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.1641, allocations: 450.7 kB / 312.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1641, allocations: 0 / 312.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005687/0.1647, allocations: 0.5971 MB / 312.7 MB, free: 8.949 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1647, allocations: 12.72 kB / 312.7 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.211e-05/0.1647, allocations: 11.69 kB / 312.7 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.1653, allocations: 0.5462 MB / 313.2 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.1656, allocations: 116.5 kB / 313.3 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004762/0.166, allocations: 0.8072 MB / 314.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.1664, allocations: 83.5 kB / 314.2 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.1664, allocations: 29.05 kB / 314.3 MB, free: 7.426 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.0001889/0.1666, allocations: 154 kB / 314.4 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.1667, allocations: 147.8 kB / 314.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006626/0.1674, allocations: 0.6183 MB / 315.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1674, allocations: 11.28 kB / 315.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1674, allocations: 0 / 315.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1674, allocations: 3.984 kB / 315.2 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.168, allocations: 0.5501 MB / 315.7 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/0.168, allocations: 8 kB / 315.8 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.1682, allocations: 51.95 kB / 315.8 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005307/0.1687, allocations: 0.5092 MB / 316.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.1688, allocations: 19.92 kB / 316.3 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000417/0.1692, allocations: 0.7928 MB / 317.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1692, allocations: 0 / 317.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.1698, allocations: 0.6243 MB / 317.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.17, allocations: 189.6 kB / 317.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.1701, allocations: 12 kB / 317.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.1703, allocations: 23.97 kB / 318 MB, free: 3.812 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.1703, allocations: 44.42 kB / 318 MB, free: 3.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.1704, allocations: 15.83 kB / 318 MB, free: 3.758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003428/0.1707, allocations: 0.6721 MB / 318.7 MB, free: 3.145 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1707, allocations: 4 kB / 318.7 MB, free: 3.141 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006958/0.1714, allocations: 446.9 kB / 319.1 MB, free: 2.703 MB / 266.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.0005675/0.172, allocations: 0.5397 MB / 319.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005639/0.1725, allocations: 475.3 kB / 320.1 MB, free: 1.762 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/0.1725, allocations: 16 kB / 320.2 MB, free: 1.746 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.1729, allocations: 304.9 kB / 320.5 MB, free: 1.445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.1734, allocations: 222.2 kB / 320.7 MB, free: 1.238 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.1761, allocations: 2.497 MB / 323.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.1762, allocations: 236 kB / 323.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002817/0.1765, allocations: 164.4 kB / 323.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.1767, allocations: 237.3 kB / 323.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1767, allocations: 0 / 323.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of Templates: time 0.02261/0.1994, allocations: 16.55 MB / 340.3 MB, free: 13.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.078206119593233]