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.001146/0.001146, allocations: 83.89 kB / 21.19 MB, free: 3.383 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.001124/0.001124, allocations: 145.1 kB / 24.54 MB, free: 32 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 0.9664/0.9664, allocations: 173.3 MB / 201.1 MB, free: 9.32 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.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.523e-06/1.523e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.988e-05, allocations: 2.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005673/0.005692, allocations: 7.151 MB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.01607, allocations: 10.13 MB / 285.2 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008597/0.01693, allocations: 118.6 kB / 285.4 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.01815, allocations: 0.6465 MB / 286 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00234/0.02049, allocations: 1.244 MB / 287.3 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.02171, allocations: 0.6913 MB / 287.9 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1261/0.1478, allocations: 2.676 MB / 290.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004535/0.1483, allocations: 171 kB / 290.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008523/0.1491, allocations: 0.7169 MB / 291.5 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.1495, allocations: 380.4 kB / 291.9 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.339e-05/0.1496, allocations: 56.16 kB / 291.9 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.1511, allocations: 0.6896 MB / 292.6 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1512, allocations: 188.8 kB / 292.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.1516, allocations: 383.2 kB / 293.2 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.1531, allocations: 1.476 MB / 294.7 MB, free: 16.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1531, allocations: 3.438 kB / 294.7 MB, free: 16.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1531, allocations: 1.281 kB / 294.7 MB, free: 16.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2e-05/0.1531, allocations: 0 / 294.7 MB, free: 16.89 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.00192/0.1551, allocations: 2.103 MB / 296.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1551, allocations: 9.891 kB / 296.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.1553, allocations: 240.5 kB / 297 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.157, allocations: 1.405 MB / 298.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.157, allocations: 30.12 kB / 298.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/0.1571, allocations: 49.62 kB / 298.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006271/0.1577, allocations: 387.2 kB / 298.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1577, allocations: 4.969 kB / 298.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.1578, allocations: 16.94 kB / 298.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.1578, allocations: 21.33 kB / 298.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.1582, allocations: 261.3 kB / 299.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.1603, allocations: 1.902 MB / 301.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.1608, allocations: 384 kB / 301.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.1611, allocations: 355.4 kB / 301.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003446/0.1646, allocations: 2.619 MB / 304.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.1649, allocations: 225.6 kB / 304.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 1.963e-06/0.1649, allocations: 0 / 304.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.00171/0.1666, allocations: 1.564 MB / 306.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.1666, allocations: 56.69 kB / 306.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009219/0.1675, allocations: 1.427 MB / 307.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1675, allocations: 37.23 kB / 307.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/0.1679, allocations: 0.8157 MB / 308.5 MB, free: 11.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.234e-05/0.168, allocations: 222.8 kB / 308.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.1681, allocations: 123.5 kB / 308.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.1682, allocations: 0.5095 MB / 309.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1683, allocations: 107.1 kB / 309.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.1685, allocations: 347.1 kB / 309.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.1689, allocations: 0.5097 MB / 310.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1689, allocations: 2.344 kB / 310.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007079/0.1696, allocations: 0.765 MB / 311.1 MB, free: 9.641 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1697, allocations: 10.22 kB / 311.1 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.895e-05/0.1697, allocations: 61.61 kB / 311.2 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002959/0.17, allocations: 141.9 kB / 311.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.1702, allocations: 105.9 kB / 311.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.1717, allocations: 2.621 MB / 314 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.1719, allocations: 21.97 kB / 314.1 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.1719, allocations: 41.41 kB / 314.1 MB, free: 7.344 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.0001742/0.1721, allocations: 189.3 kB / 314.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.1722, allocations: 203 kB / 314.5 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007741/0.173, allocations: 0.722 MB / 315.2 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.173, allocations: 4 kB / 315.2 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.173, allocations: 4 kB / 315.2 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.173, allocations: 7.828 kB / 315.2 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/0.1736, allocations: 0.8052 MB / 316 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.864e-05/0.1736, allocations: 55.98 kB / 316.1 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.1738, allocations: 55.53 kB / 316.1 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002436/0.174, allocations: 137.8 kB / 316.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.1741, allocations: 19.98 kB / 316.3 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.1753, allocations: 2.609 MB / 318.9 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1753, allocations: 0 / 318.9 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007394/0.1761, allocations: 0.8147 MB / 319.7 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.1762, allocations: 178 kB / 319.9 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/0.1763, allocations: 11.98 kB / 319.9 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.1765, allocations: 16 kB / 319.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.1765, allocations: 48.41 kB / 320 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.1766, allocations: 24 kB / 320 MB, free: 1.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005204/0.1771, allocations: 0.8146 MB / 320.8 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1771, allocations: 0 / 320.8 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005853/0.1777, allocations: 383.2 kB / 321.2 MB, free: 420 kB / 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.0005075/0.1782, allocations: 499.9 kB / 321.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.1793, allocations: 0.74 MB / 322.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1793, allocations: 0 / 322.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.1798, allocations: 0.5605 MB / 323 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.1803, allocations: 213 kB / 323.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.1826, allocations: 2.239 MB / 325.4 MB, free: 12.15 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.1828, allocations: 228.6 kB / 325.6 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003048/0.1831, allocations: 191.1 kB / 325.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.524e-05/0.1832, allocations: 84.5 kB / 325.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1832, allocations: 0 / 325.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of Templates: time 0.01936/0.2025, allocations: 13.94 MB / 339.8 MB, free: 13.86 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] 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","",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.204441613983363]