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.0007374/0.0007374, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009768/0.001714, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001088/0.001088, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002433, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9118/0.9118, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07315/0.985, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.272e-06/1.272e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.274e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.01408/0.01409, allocations: 7.069 MB / 252.1 MB, free: 6.566 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.02896, allocations: 10.24 MB / 262.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008744/0.02984, allocations: 122.6 kB / 262.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.0311, allocations: 0.6656 MB / 263.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.03353, allocations: 1.231 MB / 264.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.03457, allocations: 0.5909 MB / 264.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002544/0.03711, allocations: 2.644 MB / 267.6 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.03739, allocations: 189 kB / 267.7 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.03841, allocations: 1.197 MB / 268.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.0388, allocations: 410.5 kB / 269.3 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.599e-05/0.03887, allocations: 56 kB / 269.4 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.04005, allocations: 0.7834 MB / 270.2 MB, free: 4.324 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.04016, allocations: 150.9 kB / 270.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.04043, allocations: 346.9 kB / 270.7 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.04163, allocations: 1.378 MB / 272 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.725e-05/0.04164, allocations: 0 / 272 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.04165, allocations: 3.984 kB / 272.1 MB, free: 2.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.934e-05/0.04167, allocations: 0 / 272.1 MB, free: 2.449 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.001836/0.04351, allocations: 2.337 MB / 274.4 MB, free: 60 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.04354, allocations: 8.625 kB / 274.4 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1066/0.1502, allocations: 161.6 kB / 274.6 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.1514, allocations: 1.074 MB / 275.6 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.1514, allocations: 30.56 kB / 275.7 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.1514, allocations: 52.36 kB / 275.7 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.1519, allocations: 348.2 kB / 276.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1519, allocations: 5.875 kB / 276.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.1519, allocations: 19.22 kB / 276.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.1519, allocations: 13.59 kB / 276.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.1521, allocations: 166.8 kB / 276.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.1536, allocations: 1.25 MB / 277.5 MB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.1539, allocations: 348.2 kB / 277.8 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.1542, allocations: 279.6 kB / 278.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003509/0.1577, allocations: 2.657 MB / 280.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.1579, allocations: 197.5 kB / 281 MB, free: 7.906 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.675e-06/0.1579, allocations: 2.75 kB / 281 MB, free: 7.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001326/0.1592, allocations: 1.02 MB / 282 MB, free: 7.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.1592, allocations: 61.95 kB / 282 MB, free: 7.617 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007163/0.16, allocations: 1.178 MB / 283.2 MB, free: 7.457 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.16, allocations: 39.11 kB / 283.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.1602, allocations: 425.3 kB / 283.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.1603, allocations: 212.2 kB / 283.9 MB, free: 7.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/0.1604, allocations: 117.1 kB / 284 MB, free: 7.137 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.1604, allocations: 339.3 kB / 284.3 MB, free: 6.828 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.1605, allocations: 65.19 kB / 284.4 MB, free: 6.828 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1606, allocations: 237 kB / 284.6 MB, free: 6.648 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.1609, allocations: 391.6 kB / 285 MB, free: 6.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1609, allocations: 1.984 kB / 285 MB, free: 6.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005456/0.1615, allocations: 0.5272 MB / 285.5 MB, free: 6.398 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1615, allocations: 9.234 kB / 285.5 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.85e-05/0.1615, allocations: 12.3 kB / 285.6 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.1617, allocations: 131.8 kB / 285.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.162, allocations: 141.7 kB / 285.8 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009947/0.163, allocations: 1.831 MB / 287.7 MB, free: 5.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.1632, allocations: 35.25 kB / 287.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.1632, allocations: 21.64 kB / 287.7 MB, free: 5.074 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.0001368/0.1634, allocations: 143.5 kB / 287.9 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.282e-05/0.1635, allocations: 136.9 kB / 288 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005636/0.164, allocations: 0.5628 MB / 288.5 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.164, allocations: 11.09 kB / 288.6 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.164, allocations: 3.625 kB / 288.6 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.164, allocations: 0 / 288.6 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.1644, allocations: 486.5 kB / 289 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.927e-05/0.1644, allocations: 10.03 kB / 289 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.1646, allocations: 86.75 kB / 289.1 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.1647, allocations: 157.5 kB / 289.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/0.1649, allocations: 113 kB / 289.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1649, allocations: 10.88 kB / 289.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008441/0.1658, allocations: 1.838 MB / 291.2 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1658, allocations: 0 / 291.2 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.1662, allocations: 0.5611 MB / 291.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.475e-05/0.1663, allocations: 13.97 kB / 291.8 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.1665, allocations: 14.64 kB / 291.8 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.1665, allocations: 42.89 kB / 291.9 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.1665, allocations: 15.56 kB / 291.9 MB, free: 3.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002826/0.1668, allocations: 0.6033 MB / 292.5 MB, free: 3.168 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1668, allocations: 0 / 292.5 MB, free: 3.168 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005339/0.1674, allocations: 390.3 kB / 292.9 MB, free: 3.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.0004627/0.1678, allocations: 0.5213 MB / 293.4 MB, free: 3.008 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004958/0.1683, allocations: 0.5551 MB / 294 MB, free: 2.777 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.762e-05/0.1683, allocations: 20.84 kB / 294 MB, free: 2.777 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.1686, allocations: 418.5 kB / 294.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.1691, allocations: 323.4 kB / 294.7 MB, free: 2.551 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.1719, allocations: 2.078 MB / 296.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.172, allocations: 236 kB / 297 MB, free: 1.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.1723, allocations: 184.5 kB / 297.2 MB, free: 1.359 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.1725, allocations: 277 kB / 297.5 MB, free: 1.156 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1725, allocations: 0 / 297.5 MB, free: 1.156 MB / 266.7 MB Notification: Performance of Templates: time 0.01933/0.1919, allocations: 16.3 MB / 313.8 MB, free: 1.832 MB / 282.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 -ignoreHideResult -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: 2.8817726531997323]