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.001969/0.001969, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002532/0.002532, allocations: 156.9 kB / 24.27 MB, free: 172 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.498/1.498, 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.724e-06/1.724e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.257e-05, allocations: 5.266 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008738/0.00876, allocations: 6.479 MB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.02231, allocations: 9.316 MB / 288 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007543/0.02306, allocations: 126.6 kB / 288.1 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.02463, allocations: 0.6501 MB / 288.8 MB, free: 1.164 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1275/0.1522, allocations: 1.244 MB / 290 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.1542, allocations: 0.6849 MB / 290.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00371/0.1579, allocations: 2.647 MB / 293.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.1582, allocations: 170.3 kB / 293.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009062/0.1591, allocations: 0.7177 MB / 294.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.1596, allocations: 378.2 kB / 294.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.746e-05/0.1597, allocations: 59.91 kB / 294.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.1611, allocations: 0.6896 MB / 295.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.1612, allocations: 190.1 kB / 295.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.1616, allocations: 379.8 kB / 295.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.1639, allocations: 1.999 MB / 297.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1639, allocations: 4.594 kB / 297.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1639, allocations: 2.219 kB / 297.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.1639, allocations: 0 / 297.9 MB, free: 14.18 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.002559/0.1665, allocations: 1.951 MB / 299.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1665, allocations: 12.92 kB / 299.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.1668, allocations: 236 kB / 300.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.1685, allocations: 1.415 MB / 301.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.1685, allocations: 31.25 kB / 301.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.108e-05/0.1686, allocations: 46.62 kB / 301.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008594/0.1695, allocations: 0.5188 MB / 302.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1695, allocations: 3.938 kB / 302.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.1695, allocations: 15.25 kB / 302.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.1695, allocations: 16.92 kB / 302.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008357/0.1704, allocations: 477.2 kB / 302.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.1728, allocations: 1.886 MB / 304.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007548/0.1736, allocations: 0.4978 MB / 305 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006026/0.1742, allocations: 468.5 kB / 305.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004164/0.1783, allocations: 2.369 MB / 307.8 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000498/0.1788, allocations: 318 kB / 308.1 MB, free: 9.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=61): time 2.515e-06/0.1788, allocations: 0 / 308.1 MB, free: 9.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.004216/0.1831, allocations: 2.289 MB / 310.4 MB, free: 7.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1831, allocations: 66.28 kB / 310.5 MB, free: 7.574 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.1842, allocations: 1.295 MB / 311.8 MB, free: 6.281 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.1842, allocations: 37.7 kB / 311.8 MB, free: 6.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.1846, allocations: 0.7002 MB / 312.5 MB, free: 5.531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.1847, allocations: 227.7 kB / 312.7 MB, free: 5.312 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.1849, allocations: 118.3 kB / 312.8 MB, free: 5.188 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.1849, allocations: 334 kB / 313.2 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.1853, allocations: 213.6 kB / 313.4 MB, free: 4.648 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.1857, allocations: 371.8 kB / 313.7 MB, free: 4.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008052/0.1865, allocations: 0.607 MB / 314.4 MB, free: 3.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1865, allocations: 0 / 314.4 MB, free: 3.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00138/0.1879, allocations: 1.005 MB / 315.4 MB, free: 2.605 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.1879, allocations: 4 kB / 315.4 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.09e-05/0.188, allocations: 63.98 kB / 315.4 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005026/0.1885, allocations: 196.2 kB / 315.6 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.1889, allocations: 110.6 kB / 315.7 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.1916, allocations: 2.615 MB / 318.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.1923, allocations: 24.03 kB / 318.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.1924, allocations: 36 kB / 318.4 MB, free: 15.5 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.0007273/0.1931, allocations: 278.5 kB / 318.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/0.1935, allocations: 207.7 kB / 318.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/0.1969, allocations: 0.9727 MB / 319.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.1969, allocations: 8 kB / 319.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1969, allocations: 0 / 319.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.1969, allocations: 5.266 kB / 319.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.1989, allocations: 0.7323 MB / 320.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001551/0.199, allocations: 60 kB / 320.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.1995, allocations: 63.95 kB / 320.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008513/0.2004, allocations: 196.2 kB / 320.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/0.2004, allocations: 16 kB / 320.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005321/0.2057, allocations: 2.621 MB / 323.5 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2058, allocations: 0 / 323.5 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/0.2094, allocations: 1.201 MB / 324.7 MB, free: 9.055 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006936/0.2101, allocations: 186.9 kB / 324.9 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.2103, allocations: 12 kB / 324.9 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006563/0.2109, allocations: 20.73 kB / 325 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.2111, allocations: 48.41 kB / 325 MB, free: 8.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.272e-05/0.2112, allocations: 27.98 kB / 325 MB, free: 8.766 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001845/0.2131, allocations: 0.8535 MB / 325.9 MB, free: 7.922 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2131, allocations: 0 / 325.9 MB, free: 7.922 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001693/0.2148, allocations: 395.2 kB / 326.3 MB, free: 7.535 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.001259/0.216, allocations: 0.4982 MB / 326.8 MB, free: 7.086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.2188, allocations: 0.8794 MB / 327.6 MB, free: 6.199 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2188, allocations: 0 / 327.6 MB, free: 6.199 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.2206, allocations: 0.6179 MB / 328.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.222, allocations: 220.2 kB / 328.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00558/0.2276, allocations: 2.407 MB / 330.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009495/0.2286, allocations: 0.5876 MB / 331.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008116/0.2294, allocations: 183.2 kB / 331.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.2296, allocations: 88.5 kB / 331.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2296, allocations: 0 / 331.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of Templates: time 0.04301/0.2726, allocations: 14.58 MB / 346.3 MB, free: 3.621 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] 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.034288528026082]