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.001948/0.001948, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.001974/0.001974, allocations: 156.8 kB / 24.27 MB, free: 156 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.583/1.583, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.513e-06/1.513e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.805e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009816/0.009844, allocations: 7.114 MB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01471/0.02455, allocations: 10.12 MB / 289.4 MB, free: 0.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.02558, allocations: 122.6 kB / 289.6 MB, free: 388 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1085/0.1341, allocations: 0.6372 MB / 290.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003611/0.1377, allocations: 1.246 MB / 291.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.1394, allocations: 0.6875 MB / 292.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00414/0.1436, allocations: 2.65 MB / 294.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004057/0.144, allocations: 172.6 kB / 294.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.1453, allocations: 0.7158 MB / 295.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005777/0.1458, allocations: 382 kB / 296 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.146, allocations: 58.47 kB / 296.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.1477, allocations: 0.6951 MB / 296.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.1478, allocations: 183.9 kB / 297 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004764/0.1483, allocations: 380.6 kB / 297.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.1505, allocations: 2.003 MB / 299.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1505, allocations: 1.094 kB / 299.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1505, allocations: 0 / 299.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.1505, allocations: 0.75 kB / 299.3 MB, free: 12.91 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.002733/0.1533, allocations: 2.189 MB / 301.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1533, allocations: 13.58 kB / 301.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.1536, allocations: 236.7 kB / 301.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.1554, allocations: 1.415 MB / 303.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.1554, allocations: 35.25 kB / 303.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.297e-05/0.1555, allocations: 46.94 kB / 303.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007861/0.1563, allocations: 459.6 kB / 303.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1563, allocations: 3.938 kB / 303.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/0.1564, allocations: 16.97 kB / 303.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.1564, allocations: 18.98 kB / 303.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007489/0.1571, allocations: 410.8 kB / 304.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.16, allocations: 2.196 MB / 306.4 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006503/0.1607, allocations: 461.7 kB / 306.8 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005165/0.1612, allocations: 411.7 kB / 307.2 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004381/0.1655, allocations: 2.465 MB / 309.7 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000459/0.166, allocations: 318.5 kB / 310 MB, free: 7.141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=61): time 2.164e-06/0.166, allocations: 4 kB / 310 MB, free: 7.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.004018/0.17, allocations: 2.251 MB / 312.2 MB, free: 5.109 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.1701, allocations: 64.59 kB / 312.3 MB, free: 5.035 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.1715, allocations: 1.773 MB / 314.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.1715, allocations: 41.69 kB / 314.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004852/0.172, allocations: 0.8644 MB / 315 MB, free: 2.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.1721, allocations: 241.7 kB / 315.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.1722, allocations: 144 kB / 315.4 MB, free: 1.957 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.1723, allocations: 0.516 MB / 315.9 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.1726, allocations: 197.6 kB / 316.1 MB, free: 1.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.173, allocations: 417.2 kB / 316.5 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007228/0.1738, allocations: 0.669 MB / 317.1 MB, free: 32 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1738, allocations: 4 kB / 317.1 MB, free: 28 kB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001836/0.1756, allocations: 0.9739 MB / 318.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1756, allocations: 12.44 kB / 318.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/0.1757, allocations: 64 kB / 318.2 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006315/0.1764, allocations: 206.4 kB / 318.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.1768, allocations: 110.3 kB / 318.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004521/0.1813, allocations: 3.249 MB / 321.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006631/0.182, allocations: 27.61 kB / 321.8 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-05/0.1821, allocations: 28 kB / 321.8 MB, free: 11.3 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.0005668/0.1826, allocations: 326.8 kB / 322.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/0.183, allocations: 202.8 kB / 322.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.1851, allocations: 0.9406 MB / 323.3 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.1851, allocations: 12 kB / 323.3 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1851, allocations: 0 / 323.3 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1851, allocations: 0 / 323.3 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.1867, allocations: 1.003 MB / 324.3 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-05/0.1868, allocations: 60 kB / 324.3 MB, free: 8.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.1872, allocations: 67.14 kB / 324.4 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005959/0.1878, allocations: 190.9 kB / 324.6 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/0.1878, allocations: 23.98 kB / 324.6 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00438/0.1922, allocations: 3.255 MB / 327.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1922, allocations: 0 / 327.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.1946, allocations: 1.168 MB / 329 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/0.1951, allocations: 182.8 kB / 329.2 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.1953, allocations: 12 kB / 329.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.1957, allocations: 15.98 kB / 329.2 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.1958, allocations: 55.5 kB / 329.3 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/0.1959, allocations: 24 kB / 329.3 MB, free: 3.641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001541/0.1974, allocations: 1.014 MB / 330.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1974, allocations: 0 / 330.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001155/0.1986, allocations: 403.2 kB / 330.7 MB, free: 2.242 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.0008791/0.1995, allocations: 0.4883 MB / 331.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.2014, allocations: 0.9566 MB / 332.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2014, allocations: 4.062 kB / 332.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.2026, allocations: 0.681 MB / 332.9 MB, free: 116 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.2036, allocations: 224.2 kB / 333.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.2076, allocations: 2.415 MB / 335.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/0.2083, allocations: 0.5954 MB / 336.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005067/0.2088, allocations: 183.2 kB / 336.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.209, allocations: 84.5 kB / 336.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.209, allocations: 0 / 336.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of Templates: time 0.03186/0.2409, allocations: 14.62 MB / 351 MB, free: 14.1 MB / 314.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.079384375945665]