Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00145/0.00145, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001453/0.001453, allocations: 162.7 kB / 25.6 MB, free: 8.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.872/0.872, allocations: 158.6 MB / 187.5 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.068e-05, allocations: 6.25 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005286/0.005307, allocations: 6.828 MB / 258.3 MB, free: 400 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.01595, allocations: 9.626 MB / 267.9 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.0175, allocations: 122.6 kB / 268 MB, free: 6.602 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.01924, allocations: 0.6345 MB / 268.7 MB, free: 5.965 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.02211, allocations: 1.228 MB / 269.9 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.02355, allocations: 0.6835 MB / 270.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002814/0.02636, allocations: 2.636 MB / 273.2 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.02669, allocations: 172.4 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009495/0.02764, allocations: 0.9785 MB / 274.4 MB, free: 224 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003596/0.028, allocations: 402.6 kB / 274.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.528e-05/0.02807, allocations: 60 kB / 274.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.02921, allocations: 0.6558 MB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.02937, allocations: 182.8 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004372/0.02981, allocations: 394.7 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.03193, allocations: 1.498 MB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.03194, allocations: 0 / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.03194, allocations: 0 / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.03196, allocations: 0 / 277.5 MB, free: 13.04 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.002225/0.03419, allocations: 2.139 MB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.03423, allocations: 11.98 kB / 279.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.03441, allocations: 243.7 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.03557, allocations: 1.351 MB / 281.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.03572, allocations: 41.11 kB / 281.3 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.03577, allocations: 47.95 kB / 281.4 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.03615, allocations: 344.9 kB / 281.7 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.03617, allocations: 0 / 281.7 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.0362, allocations: 20 kB / 281.7 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.03621, allocations: 12 kB / 281.7 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.03645, allocations: 228.3 kB / 282 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.0381, allocations: 1.648 MB / 283.6 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.03843, allocations: 351.6 kB / 283.9 MB, free: 6.434 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.03869, allocations: 312.3 kB / 284.2 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003516/0.0422, allocations: 2.632 MB / 286.9 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.04246, allocations: 211.8 kB / 287.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.124e-06/0.04246, allocations: 0 / 287.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001407/0.04387, allocations: 1.215 MB / 288.3 MB, free: 2.004 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.0439, allocations: 55.91 kB / 288.4 MB, free: 1.938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000923/0.04482, allocations: 1.411 MB / 289.8 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.04485, allocations: 33.7 kB / 289.8 MB, free: 492 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005095/0.04536, allocations: 0.8454 MB / 290.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.04548, allocations: 214.1 kB / 290.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.04559, allocations: 135.9 kB / 291 MB, free: 15.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.04571, allocations: 0.5081 MB / 291.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.639e-05/0.04581, allocations: 85.59 kB / 291.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.04601, allocations: 322 kB / 291.9 MB, free: 14.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007321/0.04674, allocations: 0.5618 MB / 292.5 MB, free: 13.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.04674, allocations: 8 kB / 292.5 MB, free: 13.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006715/0.04742, allocations: 0.7051 MB / 293.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.04743, allocations: 8 kB / 293.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.083e-05/0.04748, allocations: 56.61 kB / 293.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002583/0.04774, allocations: 146.9 kB / 293.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.04798, allocations: 115.8 kB / 293.5 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.04957, allocations: 2.547 MB / 296 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.04979, allocations: 27.98 kB / 296.1 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.04983, allocations: 24 kB / 296.1 MB, free: 9.855 MB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real T1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real 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.0002324/0.05006, allocations: 204.3 kB / 296.3 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.05019, allocations: 210.8 kB / 296.5 MB, free: 9.438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007705/0.05096, allocations: 0.666 MB / 297.2 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.05097, allocations: 4 kB / 297.2 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.05097, allocations: 11.92 kB / 297.2 MB, free: 8.746 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.05098, allocations: 0 / 297.2 MB, free: 8.746 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.05154, allocations: 0.5867 MB / 297.8 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.282e-05/0.05158, allocations: 48 kB / 297.8 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.05173, allocations: 63.89 kB / 297.9 MB, free: 8.023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/0.05195, allocations: 135.6 kB / 298 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.05198, allocations: 20 kB / 298 MB, free: 7.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.05365, allocations: 2.547 MB / 300.6 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.05365, allocations: 0 / 300.6 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007004/0.05435, allocations: 0.7459 MB / 301.3 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.05454, allocations: 186.7 kB / 301.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.0546, allocations: 8 kB / 301.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.05477, allocations: 15.98 kB / 301.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.05485, allocations: 52.36 kB / 301.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.05487, allocations: 23.98 kB / 301.6 MB, free: 4.156 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004894/0.05536, allocations: 0.7597 MB / 302.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05536, allocations: 0 / 302.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000677/0.05604, allocations: 387.2 kB / 302.7 MB, free: 3.027 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 (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.0005417/0.05658, allocations: 0.5041 MB / 303.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006828/0.05726, allocations: 0.7067 MB / 303.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.05727, allocations: 4 kB / 303.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000425/0.05769, allocations: 0.5327 MB / 304.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.05815, allocations: 198.3 kB / 304.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.0603, allocations: 2.204 MB / 306.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.06044, allocations: 240.4 kB / 307.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002866/0.06073, allocations: 187.2 kB / 307.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.06103, allocations: 318.1 kB / 307.6 MB, free: 14 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.06103, allocations: 3.938 kB / 307.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of Templates: time 0.01992/0.08095, allocations: 15.71 MB / 323.3 MB, free: 14.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.9027013052254915]