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.001164/0.001164, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001324/0.001324, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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 0.9461/0.9461, allocations: 177 MB / 204.8 MB, free: 5.27 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.242e-06/1.242e-06, allocations: 0 / 272.9 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.761e-05, allocations: 5.266 kB / 272.9 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005128/0.005145, allocations: 7.162 MB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1147/0.1199, allocations: 10.16 MB / 290.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.1212, allocations: 123.2 kB / 290.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.1228, allocations: 0.6409 MB / 291 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003167/0.126, allocations: 1.249 MB / 292.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.1277, allocations: 0.6771 MB / 292.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003182/0.1308, allocations: 2.72 MB / 295.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003365/0.1312, allocations: 168.3 kB / 295.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.1326, allocations: 1.05 MB / 296.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006439/0.1332, allocations: 407.3 kB / 297.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.1334, allocations: 55.03 kB / 297.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.1349, allocations: 0.6917 MB / 298 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.135, allocations: 192 kB / 298.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.1355, allocations: 390.9 kB / 298.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.1374, allocations: 1.503 MB / 300.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1374, allocations: 0 / 300.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1374, allocations: 0 / 300.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.164e-05/0.1374, allocations: 0 / 300.1 MB, free: 12.77 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.002366/0.1398, allocations: 2.119 MB / 302.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1398, allocations: 13.58 kB / 302.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.1401, allocations: 237.1 kB / 302.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.1415, allocations: 1.354 MB / 303.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.1416, allocations: 30.88 kB / 303.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.1416, allocations: 47.03 kB / 303.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005972/0.1422, allocations: 391.3 kB / 304.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1423, allocations: 7.938 kB / 304.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.1423, allocations: 15.22 kB / 304.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.1423, allocations: 17.91 kB / 304.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.1427, allocations: 265.3 kB / 304.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.1449, allocations: 1.903 MB / 306.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.1453, allocations: 377.4 kB / 306.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/0.1457, allocations: 361.2 kB / 307.2 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003125/0.1488, allocations: 2.327 MB / 309.5 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003063/0.1491, allocations: 238 kB / 309.7 MB, free: 7.805 MB / 266.7 MB Notification: Performance of pre-optimization done (n=61): time 2.345e-06/0.1491, allocations: 4 kB / 309.7 MB, free: 7.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002775/0.1519, allocations: 1.904 MB / 311.6 MB, free: 6.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.1519, allocations: 70.66 kB / 311.7 MB, free: 6.059 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.153, allocations: 1.411 MB / 313.1 MB, free: 4.641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.153, allocations: 29.7 kB / 313.1 MB, free: 4.605 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.1534, allocations: 0.8068 MB / 313.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.1535, allocations: 230.8 kB / 314.2 MB, free: 3.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1537, allocations: 127.9 kB / 314.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.756e-05/0.1537, allocations: 0.5043 MB / 314.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.1539, allocations: 117.6 kB / 314.9 MB, free: 2.809 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.1541, allocations: 327.3 kB / 315.2 MB, free: 2.418 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.1546, allocations: 0.4979 MB / 315.7 MB, free: 1.859 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1546, allocations: 0 / 315.7 MB, free: 1.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009228/0.1555, allocations: 0.7922 MB / 316.5 MB, free: 1.086 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1556, allocations: 20.17 kB / 316.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.375e-05/0.1556, allocations: 64 kB / 316.6 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003927/0.156, allocations: 155.5 kB / 316.7 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.1563, allocations: 110.2 kB / 316.9 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.1585, allocations: 2.756 MB / 319.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.1589, allocations: 23.98 kB / 319.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/0.1589, allocations: 32 kB / 319.7 MB, free: 13.84 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.0002218/0.1591, allocations: 199.1 kB / 319.9 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.1593, allocations: 206.8 kB / 320.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.1606, allocations: 0.7848 MB / 320.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.1606, allocations: 8 kB / 320.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1606, allocations: 7.312 kB / 320.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1606, allocations: 0 / 320.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009652/0.1616, allocations: 0.8165 MB / 321.7 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-05/0.1617, allocations: 60 kB / 321.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.1619, allocations: 63.14 kB / 321.8 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/0.1623, allocations: 162.4 kB / 322 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.1623, allocations: 20 kB / 322 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.1646, allocations: 2.764 MB / 324.7 MB, free: 8.645 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1646, allocations: 0 / 324.7 MB, free: 8.645 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.1657, allocations: 0.8939 MB / 325.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.1659, allocations: 182.8 kB / 325.8 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.257e-05/0.166, allocations: 12 kB / 325.8 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.1661, allocations: 12 kB / 325.8 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.795e-05/0.1662, allocations: 52.41 kB / 325.9 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.1663, allocations: 23.98 kB / 325.9 MB, free: 7.457 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006198/0.1669, allocations: 0.8026 MB / 326.7 MB, free: 6.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1669, allocations: 0 / 326.7 MB, free: 6.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007311/0.1676, allocations: 395.2 kB / 327.1 MB, free: 6.277 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.000629/0.1682, allocations: 0.5 MB / 327.6 MB, free: 5.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008744/0.1691, allocations: 0.8031 MB / 328.4 MB, free: 5.008 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.1691, allocations: 0 / 328.4 MB, free: 5.008 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.1696, allocations: 0.6162 MB / 329 MB, free: 4.367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006001/0.1702, allocations: 219.2 kB / 329.2 MB, free: 4.168 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.1725, allocations: 2.259 MB / 331.5 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.1727, allocations: 232.7 kB / 331.7 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003077/0.173, allocations: 187.2 kB / 331.9 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.304e-05/0.1731, allocations: 84.5 kB / 332 MB, free: 1.348 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1731, allocations: 0 / 332 MB, free: 1.348 MB / 282.7 MB Notification: Performance of Templates: time 0.02119/0.1943, allocations: 16.92 MB / 348.9 MB, free: 0.582 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.0074736438691616]