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.001109/0.001109, allocations: 95.5 kB / 21.2 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.001691/0.001691, allocations: 160.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 1.002/1.002, allocations: 177 MB / 204.8 MB, free: 5.566 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.653e-06/1.653e-06, allocations: 3.938 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.946e-05, allocations: 9.266 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.01628/0.01631, allocations: 7.147 MB / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02021/0.03652, allocations: 10.17 MB / 290.2 MB, free: 48 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.119/0.1555, allocations: 119 kB / 290.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.1572, allocations: 0.6307 MB / 291 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.1605, allocations: 1.25 MB / 292.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.1621, allocations: 0.6846 MB / 292.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003269/0.1653, allocations: 2.711 MB / 295.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.1657, allocations: 170.1 kB / 295.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009922/0.1667, allocations: 0.7225 MB / 296.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005008/0.1672, allocations: 381.9 kB / 296.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.1673, allocations: 55.69 kB / 296.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.1686, allocations: 0.6958 MB / 297.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.1688, allocations: 183.6 kB / 297.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004308/0.1692, allocations: 381.8 kB / 298.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.1709, allocations: 1.484 MB / 299.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1709, allocations: 1.438 kB / 299.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1709, allocations: 0.7031 kB / 299.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.169e-05/0.1709, allocations: 3 kB / 299.7 MB, free: 12.83 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.002241/0.1732, allocations: 2.109 MB / 301.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1732, allocations: 12.58 kB / 301.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.1735, allocations: 238.5 kB / 302 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.1748, allocations: 1.404 MB / 303.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.1748, allocations: 35.06 kB / 303.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.1749, allocations: 45.34 kB / 303.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.1754, allocations: 389 kB / 303.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1754, allocations: 3.938 kB / 303.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.1754, allocations: 19.94 kB / 303.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.1754, allocations: 18.02 kB / 303.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.1758, allocations: 260.1 kB / 304.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.1775, allocations: 1.906 MB / 306.1 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.1779, allocations: 370.6 kB / 306.4 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.1782, allocations: 362.7 kB / 306.8 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002543/0.1808, allocations: 2.329 MB / 309.1 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.181, allocations: 244.1 kB / 309.4 MB, free: 7.852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=61): time 2.184e-06/0.181, allocations: 4 kB / 309.4 MB, free: 7.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002192/0.1832, allocations: 1.901 MB / 311.3 MB, free: 6.469 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.1832, allocations: 63.84 kB / 311.3 MB, free: 6.395 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008325/0.184, allocations: 1.407 MB / 312.7 MB, free: 4.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1841, allocations: 33.7 kB / 312.8 MB, free: 4.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.1844, allocations: 0.8089 MB / 313.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.935e-05/0.1845, allocations: 230.9 kB / 313.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.1846, allocations: 128 kB / 313.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.1846, allocations: 0.505 MB / 314.4 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.1848, allocations: 117.6 kB / 314.6 MB, free: 3.145 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.185, allocations: 322.6 kB / 314.9 MB, free: 2.758 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.1854, allocations: 0.4994 MB / 315.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1854, allocations: 0 / 315.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007374/0.1861, allocations: 0.7929 MB / 316.2 MB, free: 1.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1861, allocations: 12.66 kB / 316.2 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.247e-05/0.1862, allocations: 70.61 kB / 316.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003242/0.1865, allocations: 150.9 kB / 316.4 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.1867, allocations: 109.2 kB / 316.5 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.1886, allocations: 2.76 MB / 319.3 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.1889, allocations: 20 kB / 319.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.189, allocations: 32.94 kB / 319.3 MB, free: 14.19 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.0002146/0.1892, allocations: 198.6 kB / 319.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.1893, allocations: 206.8 kB / 319.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009794/0.1903, allocations: 0.7851 MB / 320.5 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1903, allocations: 8 kB / 320.5 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1903, allocations: 7.312 kB / 320.5 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1903, allocations: 3.984 kB / 320.5 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007831/0.1911, allocations: 0.82 MB / 321.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.979e-05/0.1912, allocations: 67.17 kB / 321.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.1913, allocations: 59.97 kB / 321.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003172/0.1916, allocations: 158.7 kB / 321.6 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.1917, allocations: 25.44 kB / 321.6 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.1937, allocations: 2.756 MB / 324.4 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1937, allocations: 0 / 324.4 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009964/0.1947, allocations: 0.8864 MB / 325.3 MB, free: 8.078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.195, allocations: 182.8 kB / 325.5 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.181e-05/0.195, allocations: 12 kB / 325.5 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.1952, allocations: 19.98 kB / 325.5 MB, free: 7.867 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.1953, allocations: 51.69 kB / 325.5 MB, free: 7.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.1954, allocations: 24 kB / 325.6 MB, free: 7.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007687/0.1962, allocations: 0.8065 MB / 326.4 MB, free: 7 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1962, allocations: 0 / 326.4 MB, free: 7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009622/0.1971, allocations: 395.2 kB / 326.8 MB, free: 6.613 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.0006499/0.1978, allocations: 0.5014 MB / 327.3 MB, free: 6.164 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009658/0.1987, allocations: 0.8027 MB / 328.1 MB, free: 5.344 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1987, allocations: 0 / 328.1 MB, free: 5.344 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005686/0.1993, allocations: 0.614 MB / 328.7 MB, free: 4.707 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.1999, allocations: 219.6 kB / 328.9 MB, free: 4.504 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.2023, allocations: 2.263 MB / 331.2 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.2024, allocations: 236.7 kB / 331.4 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003132/0.2027, allocations: 183.2 kB / 331.6 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.2028, allocations: 88.48 kB / 331.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2028, allocations: 0 / 331.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of Templates: time 0.01916/0.222, allocations: 14.7 MB / 346.3 MB, free: 3.141 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.4178993050009012]