Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 169.6 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.625e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009581/0.009608, allocations: 7.115 MB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.0248, allocations: 10.12 MB / 289.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.02602, allocations: 122.6 kB / 289.7 MB, free: 420 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1187/0.1447, allocations: 0.6436 MB / 290.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003994/0.1487, allocations: 1.245 MB / 291.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.1509, allocations: 0.6908 MB / 292.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00616/0.1571, allocations: 2.649 MB / 294.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005575/0.1576, allocations: 173.3 kB / 295.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.1592, allocations: 0.716 MB / 295.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005744/0.1598, allocations: 377.5 kB / 296.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.1599, allocations: 58.75 kB / 296.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.1617, allocations: 0.6908 MB / 296.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.1619, allocations: 187.4 kB / 297.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005677/0.1625, allocations: 385.9 kB / 297.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.1648, allocations: 2.004 MB / 299.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1648, allocations: 0 / 299.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1648, allocations: 0 / 299.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.1648, allocations: 0 / 299.5 MB, free: 12.93 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.002903/0.1677, allocations: 2.185 MB / 301.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1678, allocations: 10.62 kB / 301.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/0.168, allocations: 234.9 kB / 301.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.1698, allocations: 1.413 MB / 303.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.1699, allocations: 34.84 kB / 303.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.17, allocations: 46.44 kB / 303.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008148/0.1708, allocations: 465.6 kB / 303.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1708, allocations: 5.031 kB / 303.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/0.1708, allocations: 15.62 kB / 303.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.1709, allocations: 18.06 kB / 303.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007409/0.1716, allocations: 410.2 kB / 304.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.1745, allocations: 2.198 MB / 306.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006658/0.1752, allocations: 453 kB / 306.9 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005359/0.1757, allocations: 411.6 kB / 307.3 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004519/0.1802, allocations: 2.469 MB / 309.8 MB, free: 7.387 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004605/0.1807, allocations: 312.3 kB / 310.1 MB, free: 7.203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=61): time 2.315e-06/0.1807, allocations: 4 kB / 310.1 MB, free: 7.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.004126/0.1848, allocations: 2.245 MB / 312.3 MB, free: 5.184 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.1849, allocations: 68.64 kB / 312.4 MB, free: 5.105 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.1863, allocations: 1.774 MB / 314.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.1864, allocations: 33.7 kB / 314.2 MB, free: 3.285 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004781/0.1868, allocations: 0.8674 MB / 315.1 MB, free: 2.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.1869, allocations: 247 kB / 315.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.1871, allocations: 144 kB / 315.5 MB, free: 2.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.1872, allocations: 0.516 MB / 316 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.1875, allocations: 193.6 kB / 316.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.1879, allocations: 414.7 kB / 316.6 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007312/0.1886, allocations: 0.6751 MB / 317.2 MB, free: 108 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1886, allocations: 4 kB / 317.2 MB, free: 104 kB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001809/0.1904, allocations: 0.9712 MB / 318.2 MB, free: 15.15 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1905, allocations: 8 kB / 318.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/0.1906, allocations: 69.05 kB / 318.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/0.1912, allocations: 202.5 kB / 318.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.1916, allocations: 109.5 kB / 318.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004477/0.1961, allocations: 3.257 MB / 321.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006308/0.1968, allocations: 20 kB / 321.9 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/0.1968, allocations: 35.98 kB / 321.9 MB, free: 11.37 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.000563/0.1974, allocations: 325.6 kB / 322.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/0.1977, allocations: 202.8 kB / 322.4 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.1998, allocations: 0.943 MB / 323.4 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.1998, allocations: 15.98 kB / 323.4 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1998, allocations: 0 / 323.4 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1998, allocations: 4 kB / 323.4 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.2014, allocations: 1 MB / 324.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.862e-05/0.2015, allocations: 67.62 kB / 324.5 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.2018, allocations: 58.86 kB / 324.5 MB, free: 8.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005793/0.2024, allocations: 197.1 kB / 324.7 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/0.2024, allocations: 20 kB / 324.7 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/0.2068, allocations: 3.258 MB / 328 MB, free: 5.172 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2068, allocations: 0 / 328 MB, free: 5.172 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/0.2093, allocations: 1.165 MB / 329.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/0.2099, allocations: 185.7 kB / 329.3 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.2101, allocations: 12 kB / 329.3 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.2104, allocations: 12 kB / 329.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.2106, allocations: 52.41 kB / 329.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.789e-05/0.2106, allocations: 27.98 kB / 329.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001534/0.2122, allocations: 1.01 MB / 330.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2122, allocations: 0 / 330.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001114/0.2133, allocations: 407.1 kB / 330.8 MB, free: 2.312 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.0008767/0.2142, allocations: 499 kB / 331.3 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.216, allocations: 0.9595 MB / 332.3 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.216, allocations: 4.062 kB / 332.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.2172, allocations: 0.6861 MB / 333 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.2183, allocations: 227.7 kB / 333.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.2229, allocations: 2.408 MB / 335.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007999/0.2237, allocations: 0.5916 MB / 336.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005623/0.2243, allocations: 179.2 kB / 336.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.2245, allocations: 96.48 kB / 336.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2245, allocations: 0 / 336.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of Templates: time 0.03969/0.2642, allocations: 14.62 MB / 351.1 MB, free: 14.15 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.025935670942999]