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.0009056/0.0009056, 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.0009392/0.0009392, allocations: 147.5 kB / 24.9 MB, free: 8.691 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.01/1.01, allocations: 173.4 MB / 201.5 MB, free: 9.203 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.393e-06/1.393e-06, allocations: 0 / 268.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.467e-05, allocations: 6.25 kB / 268.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.005377/0.005392, allocations: 7.733 MB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009805/0.0152, allocations: 10.72 MB / 286.9 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006877/0.01588, allocations: 87.06 kB / 287 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.01717, allocations: 0.7939 MB / 287.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.01922, allocations: 1.32 MB / 289.1 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.02034, allocations: 0.7128 MB / 289.8 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1014/0.1218, allocations: 2.828 MB / 292.7 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004748/0.1223, allocations: 240.2 kB / 292.9 MB, free: 16.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.1239, allocations: 1.119 MB / 294 MB, free: 16.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000739/0.1246, allocations: 495.4 kB / 294.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.1248, allocations: 66.16 kB / 294.6 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.1261, allocations: 0.6981 MB / 295.3 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.1263, allocations: 232.8 kB / 295.5 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004655/0.1267, allocations: 444.3 kB / 295.9 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.1284, allocations: 1.622 MB / 297.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1284, allocations: 0 / 297.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1284, allocations: 0 / 297.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.97e-05/0.1284, allocations: 4 kB / 297.6 MB, free: 15.88 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.002317/0.1307, allocations: 2.163 MB / 299.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1308, allocations: 10.48 kB / 299.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.131, allocations: 183.9 kB / 299.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.1321, allocations: 1.062 MB / 301 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.1321, allocations: 41.38 kB / 301 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.1322, allocations: 57.75 kB / 301.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.1327, allocations: 0.5168 MB / 301.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1328, allocations: 7.938 kB / 301.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.1328, allocations: 22.53 kB / 301.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.1328, allocations: 20.22 kB / 301.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.1331, allocations: 187.2 kB / 301.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.1346, allocations: 1.557 MB / 303.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.1349, allocations: 354.5 kB / 303.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.1351, allocations: 277.8 kB / 304 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003494/0.1386, allocations: 3.047 MB / 307 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.1388, allocations: 227.8 kB / 307.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 1.603e-06/0.1388, allocations: 0 / 307.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002113/0.141, allocations: 1.355 MB / 308.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.141, allocations: 84.27 kB / 308.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000606/0.1416, allocations: 1.305 MB / 310 MB, free: 11.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.1416, allocations: 37.7 kB / 310 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.1418, allocations: 474.5 kB / 310.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.733e-05/0.1419, allocations: 240 kB / 310.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.142, allocations: 123.1 kB / 310.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.142, allocations: 345.3 kB / 311.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.946e-05/0.1421, allocations: 76.59 kB / 311.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1423, allocations: 312.2 kB / 311.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.1426, allocations: 447 kB / 312 MB, free: 9.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1426, allocations: 0 / 312 MB, free: 9.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005493/0.1431, allocations: 0.6016 MB / 312.6 MB, free: 9.273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1431, allocations: 12.72 kB / 312.6 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.249e-05/0.1432, allocations: 15.98 kB / 312.6 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005399/0.1437, allocations: 0.5476 MB / 313.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.1439, allocations: 113.2 kB / 313.3 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000444/0.1444, allocations: 0.8023 MB / 314.1 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.1446, allocations: 87 kB / 314.2 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.1447, allocations: 24 kB / 314.2 MB, free: 7.695 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.0001639/0.1448, allocations: 156.3 kB / 314.4 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.1449, allocations: 143.8 kB / 314.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006124/0.1455, allocations: 0.6188 MB / 315.1 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1455, allocations: 4 kB / 315.1 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1455, allocations: 4 kB / 315.1 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1456, allocations: 3.984 kB / 315.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.146, allocations: 0.5495 MB / 315.7 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.52e-05/0.1461, allocations: 8 kB / 315.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.1462, allocations: 51.52 kB / 315.7 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004877/0.1467, allocations: 0.5063 MB / 316.2 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.1467, allocations: 15.94 kB / 316.3 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003901/0.1471, allocations: 0.7911 MB / 317 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1471, allocations: 0 / 317 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005621/0.1477, allocations: 0.6346 MB / 317.7 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.1479, allocations: 186.5 kB / 317.9 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.545e-05/0.1479, allocations: 12 kB / 317.9 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.1481, allocations: 16.86 kB / 317.9 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.1482, allocations: 48.41 kB / 317.9 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.1482, allocations: 12 kB / 318 MB, free: 4.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003815/0.1486, allocations: 0.6765 MB / 318.6 MB, free: 3.418 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1486, allocations: 4 kB / 318.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000527/0.1491, allocations: 446.9 kB / 319.1 MB, free: 2.977 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.0005574/0.1497, allocations: 0.5406 MB / 319.6 MB, free: 2.484 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005571/0.1503, allocations: 479.7 kB / 320.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/0.1503, allocations: 16 kB / 320.1 MB, free: 2.016 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.1506, allocations: 306.1 kB / 320.4 MB, free: 1.719 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.1511, allocations: 222.8 kB / 320.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.1537, allocations: 2.493 MB / 323.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.1539, allocations: 243.9 kB / 323.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002782/0.1541, allocations: 162.2 kB / 323.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.1544, allocations: 233.3 kB / 323.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1544, allocations: 0 / 323.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of Templates: time 0.02094/0.1753, allocations: 16.54 MB / 340.3 MB, free: 14.05 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 -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.0921846008859575]