Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001408, allocations: 79.69 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 161 kB / 24.99 MB, free: 8.797 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.027/1.027, allocations: 177 MB / 205.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 273 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.664e-05, allocations: 2.312 kB / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008301/0.008328, allocations: 7.135 MB / 280.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009103/0.01743, allocations: 10.14 MB / 290.3 MB, free: 436 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.01845, allocations: 122.6 kB / 290.4 MB, free: 312 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1166/0.135, allocations: 0.6335 MB / 291 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003743/0.1388, allocations: 1.248 MB / 292.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.1405, allocations: 0.6799 MB / 292.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003196/0.1437, allocations: 2.656 MB / 295.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003499/0.144, allocations: 172.6 kB / 295.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009342/0.145, allocations: 0.7152 MB / 296.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004867/0.1454, allocations: 385.8 kB / 296.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.1456, allocations: 55.44 kB / 296.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.147, allocations: 0.6918 MB / 297.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.1471, allocations: 183 kB / 297.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004921/0.1476, allocations: 380.5 kB / 298.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.1494, allocations: 1.485 MB / 299.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1494, allocations: 2.406 kB / 299.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1494, allocations: 1.031 kB / 299.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.567e-05/0.1495, allocations: 0 / 299.6 MB, free: 12.84 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.002351/0.1518, allocations: 2.115 MB / 301.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1519, allocations: 14.27 kB / 301.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.1522, allocations: 236.6 kB / 302 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.1536, allocations: 1.405 MB / 303.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.1536, allocations: 31.12 kB / 303.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-05/0.1537, allocations: 49.72 kB / 303.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.1542, allocations: 388 kB / 303.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1542, allocations: 3.938 kB / 303.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.1543, allocations: 19.66 kB / 303.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.1543, allocations: 18.16 kB / 303.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.1547, allocations: 260.9 kB / 304.2 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.1566, allocations: 1.9 MB / 306.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.157, allocations: 372.4 kB / 306.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/0.1575, allocations: 364.1 kB / 306.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00333/0.1608, allocations: 2.335 MB / 309.1 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002659/0.1611, allocations: 244.6 kB / 309.4 MB, free: 8.055 MB / 266.7 MB Notification: Performance of pre-optimization done (n=61): time 2.915e-06/0.1611, allocations: 0 / 309.4 MB, free: 8.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002426/0.1635, allocations: 1.896 MB / 311.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.1635, allocations: 63.84 kB / 311.3 MB, free: 6.785 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008691/0.1644, allocations: 1.403 MB / 312.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.1644, allocations: 37.7 kB / 312.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.1648, allocations: 0.8086 MB / 313.6 MB, free: 4.516 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.1649, allocations: 231.2 kB / 313.8 MB, free: 4.293 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.165, allocations: 128 kB / 313.9 MB, free: 4.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.893e-05/0.165, allocations: 0.5043 MB / 314.4 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.1652, allocations: 121.6 kB / 314.5 MB, free: 3.531 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.1654, allocations: 318.7 kB / 314.8 MB, free: 3.145 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.1658, allocations: 0.4954 MB / 315.3 MB, free: 2.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1658, allocations: 4 kB / 315.3 MB, free: 2.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007809/0.1666, allocations: 0.7991 MB / 316.1 MB, free: 1.812 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1666, allocations: 8 kB / 316.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.741e-05/0.1667, allocations: 64 kB / 316.2 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003462/0.167, allocations: 159 kB / 316.4 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.1672, allocations: 110.2 kB / 316.5 MB, free: 1.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.1691, allocations: 2.759 MB / 319.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.1694, allocations: 19.98 kB / 319.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.1695, allocations: 32 kB / 319.3 MB, free: 14.58 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (54): * Single equations (assignments): 51 * 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,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002174/0.1697, allocations: 202 kB / 319.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.1698, allocations: 210.8 kB / 319.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.1709, allocations: 0.7831 MB / 320.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1709, allocations: 15.83 kB / 320.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1709, allocations: 4 kB / 320.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.1709, allocations: 3.984 kB / 320.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007877/0.1717, allocations: 0.8237 MB / 321.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.168e-05/0.1717, allocations: 60 kB / 321.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.1719, allocations: 58.58 kB / 321.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003251/0.1722, allocations: 168.9 kB / 321.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.1722, allocations: 15.98 kB / 321.6 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.1741, allocations: 2.754 MB / 324.4 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1741, allocations: 7.984 kB / 324.4 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009728/0.175, allocations: 0.8855 MB / 325.3 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.1752, allocations: 182.8 kB / 325.4 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/0.1753, allocations: 12 kB / 325.5 MB, free: 8.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.1755, allocations: 19.92 kB / 325.5 MB, free: 8.242 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.1756, allocations: 55.03 kB / 325.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.1756, allocations: 24 kB / 325.5 MB, free: 8.168 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006639/0.1763, allocations: 0.8026 MB / 326.4 MB, free: 7.375 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1763, allocations: 0 / 326.4 MB, free: 7.375 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008929/0.1772, allocations: 395.2 kB / 326.7 MB, free: 6.988 MB / 282.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 (31): * Single equations (assignments): 25 * 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,17,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005881/0.1778, allocations: 0.4978 MB / 327.2 MB, free: 6.543 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000897/0.1787, allocations: 0.7993 MB / 328 MB, free: 5.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1787, allocations: 1.062 kB / 328 MB, free: 5.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000531/0.1792, allocations: 0.6147 MB / 328.7 MB, free: 5.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.1798, allocations: 220.2 kB / 328.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.182, allocations: 2.254 MB / 331.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.1822, allocations: 236.7 kB / 331.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000315/0.1825, allocations: 187.2 kB / 331.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.1826, allocations: 84.5 kB / 331.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1826, allocations: 7.125 kB / 331.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of Templates: time 0.01893/0.2015, allocations: 14.7 MB / 346.3 MB, free: 3.527 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.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.2215930961538106]