Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.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.001461/0.001461, allocations: 88.62 kB / 20.96 MB, free: 3.477 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.001541/0.001541, allocations: 149.3 kB / 24.26 MB, free: 184 kB / 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.436/1.436, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] 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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.36e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008879/0.008903, allocations: 6.475 MB / 273.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.02313, allocations: 9.297 MB / 283.1 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.02416, allocations: 122.6 kB / 283.2 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.02609, allocations: 0.6501 MB / 283.9 MB, free: 6.109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003932/0.03002, allocations: 1.244 MB / 285.1 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.0318, allocations: 0.6875 MB / 285.8 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004128/0.03593, allocations: 2.613 MB / 288.4 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.03633, allocations: 172.4 kB / 288.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.03738, allocations: 0.7208 MB / 289.3 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006051/0.03798, allocations: 378.5 kB / 289.7 MB, free: 264 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.03809, allocations: 52 kB / 289.7 MB, free: 212 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1014/0.1395, allocations: 0.686 MB / 290.4 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.1397, allocations: 185.3 kB / 290.6 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006572/0.1403, allocations: 384.8 kB / 291 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.1425, allocations: 1.994 MB / 292.9 MB, free: 17.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1425, allocations: 1 kB / 292.9 MB, free: 17.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1425, allocations: 0 / 292.9 MB, free: 17.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.1425, allocations: 0 / 292.9 MB, free: 17.73 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002467/0.145, allocations: 1.943 MB / 294.9 MB, free: 16.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.145, allocations: 11.08 kB / 294.9 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/0.1453, allocations: 243.9 kB / 295.1 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/0.1471, allocations: 1.408 MB / 296.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.1472, allocations: 33.75 kB / 296.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.575e-05/0.1473, allocations: 46.38 kB / 296.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009318/0.1482, allocations: 0.5152 MB / 297.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.1482, allocations: 3.938 kB / 297.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-05/0.1483, allocations: 18.42 kB / 297.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.1483, allocations: 15.92 kB / 297.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009039/0.1492, allocations: 475.7 kB / 297.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.1518, allocations: 1.886 MB / 299.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008534/0.1527, allocations: 0.5038 MB / 300 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000639/0.1533, allocations: 466.5 kB / 300.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005827/0.1591, allocations: 2.644 MB / 303.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004968/0.1596, allocations: 297.5 kB / 303.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.044e-06/0.1596, allocations: 0 / 303.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.003167/0.1628, allocations: 1.916 MB / 305.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.1628, allocations: 62.22 kB / 305.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.164, allocations: 1.306 MB / 306.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.164, allocations: 33.7 kB / 306.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/0.1644, allocations: 0.7191 MB / 307.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.705e-05/0.1645, allocations: 203.5 kB / 307.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.1646, allocations: 123.1 kB / 307.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.1647, allocations: 336.1 kB / 308.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.165, allocations: 205.5 kB / 308.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.1655, allocations: 360.5 kB / 308.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/0.1662, allocations: 0.5961 MB / 309.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1662, allocations: 2.938 kB / 309.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00135/0.1676, allocations: 0.9471 MB / 310.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1676, allocations: 6.594 kB / 310.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.731e-05/0.1677, allocations: 56.89 kB / 310.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004298/0.1681, allocations: 172.5 kB / 310.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.1685, allocations: 116.3 kB / 310.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.1706, allocations: 2.372 MB / 312.9 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/0.1711, allocations: 36.77 kB / 313 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.626e-05/0.1712, allocations: 32.16 kB / 313 MB, free: 8.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003064/0.1715, allocations: 276.5 kB / 313.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.1716, allocations: 210.2 kB / 313.5 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.1732, allocations: 0.8708 MB / 314.3 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1732, allocations: 8 kB / 314.3 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1732, allocations: 0 / 314.3 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1732, allocations: 7.938 kB / 314.3 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000691/0.1739, allocations: 0.7116 MB / 315.1 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-05/0.1739, allocations: 52 kB / 315.1 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.1742, allocations: 63.23 kB / 315.2 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003714/0.1746, allocations: 164.8 kB / 315.3 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.1746, allocations: 16 kB / 315.3 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.1766, allocations: 2.347 MB / 317.7 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1766, allocations: 0 / 317.7 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.1782, allocations: 1.086 MB / 318.8 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.1784, allocations: 190.8 kB / 319 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.1786, allocations: 4 kB / 319 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.1789, allocations: 22.3 kB / 319 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.1791, allocations: 52.41 kB / 319 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.1791, allocations: 20 kB / 319.1 MB, free: 2.383 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007557/0.1799, allocations: 0.8655 MB / 319.9 MB, free: 1.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1799, allocations: 0 / 319.9 MB, free: 1.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008527/0.1807, allocations: 383.2 kB / 320.3 MB, free: 1.152 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006228/0.1813, allocations: 0.4948 MB / 320.8 MB, free: 0.707 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.1827, allocations: 0.8029 MB / 321.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1827, allocations: 0 / 321.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.1838, allocations: 0.5583 MB / 322.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009606/0.1847, allocations: 225.9 kB / 322.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/0.1888, allocations: 2.376 MB / 324.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006845/0.1895, allocations: 0.5913 MB / 325.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005078/0.19, allocations: 183.2 kB / 325.5 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.1902, allocations: 92.48 kB / 325.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1902, allocations: 0 / 325.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of Templates: time 0.02981/0.22, allocations: 13.81 MB / 339.4 MB, free: 14.17 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.741220174008049]