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.0007823/0.0007823, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.001831, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007212/0.0007212, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009086/0.00163, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9397/0.9397, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1387/1.078, allocations: 49.49 MB / 220.6 MB, free: 1.441 MB / 218.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.362e-06/1.362e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.347e-05, allocations: 6.312 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.01233/0.01234, allocations: 6.903 MB / 228.7 MB, free: 9.227 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008866/0.02121, allocations: 9.873 MB / 238.6 MB, free: 15.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008103/0.02202, allocations: 122.6 kB / 238.7 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.02319, allocations: 0.6537 MB / 239.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.02575, allocations: 1.219 MB / 240.6 MB, free: 13.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.02689, allocations: 0.5869 MB / 241.2 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002611/0.0295, allocations: 2.574 MB / 243.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.02983, allocations: 189.1 kB / 243.9 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.03089, allocations: 1.131 MB / 245.1 MB, free: 8.758 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.03126, allocations: 394.7 kB / 245.5 MB, free: 8.371 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.247e-05/0.03133, allocations: 56 kB / 245.5 MB, free: 8.316 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.03249, allocations: 0.7522 MB / 246.3 MB, free: 7.562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.03262, allocations: 154.9 kB / 246.4 MB, free: 7.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.0329, allocations: 346.9 kB / 246.8 MB, free: 7.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.03416, allocations: 1.366 MB / 248.1 MB, free: 5.699 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-05/0.03418, allocations: 0 / 248.1 MB, free: 5.699 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.03418, allocations: 0 / 248.1 MB, free: 5.699 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.435e-05/0.03421, allocations: 4 kB / 248.1 MB, free: 5.695 MB / 250.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.001935/0.03615, allocations: 2.329 MB / 250.5 MB, free: 3.312 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.03618, allocations: 12.03 kB / 250.5 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.03635, allocations: 168.7 kB / 250.6 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.03754, allocations: 1.083 MB / 251.7 MB, free: 1.988 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.03756, allocations: 37.12 kB / 251.8 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.03762, allocations: 47.95 kB / 251.8 MB, free: 1.906 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.03799, allocations: 343.7 kB / 252.1 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.038, allocations: 0 / 252.1 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.03802, allocations: 16 kB / 252.2 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.03804, allocations: 19.98 kB / 252.2 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.03823, allocations: 168.5 kB / 252.3 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.03967, allocations: 1.239 MB / 253.6 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.04004, allocations: 350.7 kB / 253.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.04027, allocations: 277.6 kB / 254.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003408/0.04368, allocations: 2.642 MB / 256.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.0439, allocations: 186.1 kB / 257 MB, free: 12.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 1.784e-06/0.0439, allocations: 0 / 257 MB, free: 12.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001316/0.04521, allocations: 1.019 MB / 258 MB, free: 11.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.04525, allocations: 59.91 kB / 258.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007169/0.04597, allocations: 1.183 MB / 259.3 MB, free: 10.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.046, allocations: 37.7 kB / 259.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.0462, allocations: 428.3 kB / 259.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.04631, allocations: 206.2 kB / 259.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.04641, allocations: 118.2 kB / 260 MB, free: 9.492 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.0465, allocations: 333.9 kB / 260.4 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.04658, allocations: 65.62 kB / 260.4 MB, free: 9.098 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.04674, allocations: 239.8 kB / 260.7 MB, free: 8.789 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.04714, allocations: 472.9 kB / 261.1 MB, free: 8.262 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.04714, allocations: 4 kB / 261.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005264/0.04767, allocations: 0.5285 MB / 261.7 MB, free: 7.719 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.04768, allocations: 8 kB / 261.7 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-05/0.04772, allocations: 16.03 kB / 261.7 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002298/0.04795, allocations: 127.3 kB / 261.8 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.04823, allocations: 151.6 kB / 262 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.04947, allocations: 1.831 MB / 263.8 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.04969, allocations: 27.98 kB / 263.8 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.04972, allocations: 20 kB / 263.8 MB, free: 5.461 MB / 266.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.000202/0.04992, allocations: 157.6 kB / 264 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.802e-05/0.05002, allocations: 131.8 kB / 264.1 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006517/0.05067, allocations: 0.5548 MB / 264.7 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.05068, allocations: 7.938 kB / 264.7 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.05068, allocations: 4 kB / 264.7 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.05069, allocations: 3.984 kB / 264.7 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.05111, allocations: 494.9 kB / 265.2 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-05/0.05113, allocations: 8 kB / 265.2 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.05131, allocations: 85.84 kB / 265.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.05146, allocations: 150.8 kB / 265.4 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/0.05168, allocations: 128.7 kB / 265.5 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.0517, allocations: 15.97 kB / 265.6 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.05283, allocations: 1.829 MB / 267.4 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.05283, allocations: 0 / 267.4 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005344/0.05336, allocations: 0.5633 MB / 268 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.377e-05/0.05344, allocations: 16 kB / 268 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.05359, allocations: 15.92 kB / 268 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.05366, allocations: 40.42 kB / 268 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.05368, allocations: 11.98 kB / 268 MB, free: 1.121 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003721/0.05405, allocations: 0.6019 MB / 268.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.05405, allocations: 0 / 268.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005392/0.05459, allocations: 395.2 kB / 269 MB, free: 144 kB / 266.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.0005204/0.05511, allocations: 0.5129 MB / 269.5 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005787/0.05569, allocations: 0.5537 MB / 270.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.466e-05/0.05571, allocations: 24 kB / 270.1 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.05608, allocations: 426 kB / 270.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.05652, allocations: 302.3 kB / 270.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.05982, allocations: 2.077 MB / 272.9 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.05997, allocations: 236.6 kB / 273.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003031/0.06027, allocations: 183.3 kB / 273.3 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.06057, allocations: 269.3 kB / 273.6 MB, free: 11.46 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.06057, allocations: 0 / 273.6 MB, free: 11.46 MB / 282.7 MB Notification: Performance of Templates: time 0.1076/0.1681, allocations: 16.16 MB / 289.7 MB, free: 43.18 MB / 282.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 -ignoreHideResult -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.9714728025719523]