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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009589/0.000959, allocations: 183.4 kB / 18.05 MB, free: 3.535 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007277/0.0007278, allocations: 85.05 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003015, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1946, allocations: 47.56 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09526/0.2899, allocations: 90.45 MB / 467.5 MB, free: 6.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.2902, allocations: 71.97 kB / 467.5 MB, free: 6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2481/0.5383, allocations: 53.93 MB / 0.5092 GB, free: 94.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5383, allocations: 1.875 kB / 0.5092 GB, free: 94.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.682e-05/0.5384, allocations: 22.72 kB / 0.5093 GB, free: 94.82 MB / 378.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.002881/0.5413, allocations: 1.827 MB / 0.511 GB, free: 93.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.5413, allocations: 11.03 kB / 0.5111 GB, free: 93.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002666/0.5416, allocations: 195.2 kB / 0.5112 GB, free: 93.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.5432, allocations: 1.219 MB / 0.5124 GB, free: 93.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.5432, allocations: 37.41 kB / 0.5125 GB, free: 93.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.522e-05/0.5433, allocations: 49.31 kB / 0.5125 GB, free: 93.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007809/0.5441, allocations: 0.5232 MB / 0.513 GB, free: 93.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.5441, allocations: 0 / 0.513 GB, free: 93.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.5442, allocations: 23.91 kB / 0.5131 GB, free: 93.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.5442, allocations: 18.95 kB / 0.5131 GB, free: 93.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000787/0.545, allocations: 499.6 kB / 0.5135 GB, free: 92.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.5476, allocations: 2.098 MB / 0.5156 GB, free: 91.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008041/0.5484, allocations: 0.719 MB / 0.5163 GB, free: 91.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000614/0.549, allocations: 0.5216 MB / 0.5168 GB, free: 91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006802/0.5558, allocations: 7.679 MB / 0.5243 GB, free: 84.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004818/0.5563, allocations: 297.2 kB / 0.5246 GB, free: 83.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 3.036e-06/0.5563, allocations: 0.8438 kB / 0.5246 GB, free: 83.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.003194/0.5595, allocations: 2.013 MB / 0.5266 GB, free: 82.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.5596, allocations: 59.7 kB / 0.5266 GB, free: 82.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.5609, allocations: 1.283 MB / 0.5279 GB, free: 82.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.5609, allocations: 37.45 kB / 0.5279 GB, free: 82.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004108/0.5613, allocations: 0.7092 MB / 0.5286 GB, free: 81.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.5614, allocations: 204.3 kB / 0.5288 GB, free: 81.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.5615, allocations: 11.88 kB / 0.5288 GB, free: 81.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.16e-05/0.5615, allocations: 336.2 kB / 0.5291 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.5619, allocations: 209 kB / 0.5293 GB, free: 81.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.5624, allocations: 371.3 kB / 0.5297 GB, free: 80.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.5644, allocations: 1.161 MB / 0.5308 GB, free: 80.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5644, allocations: 3.625 kB / 0.5308 GB, free: 80.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001355/0.5657, allocations: 0.9239 MB / 0.5317 GB, free: 79.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.5658, allocations: 13.19 kB / 0.5317 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.358e-05/0.5659, allocations: 59.75 kB / 0.5318 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/0.5663, allocations: 152.9 kB / 0.5319 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.5667, allocations: 124.2 kB / 0.532 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.5688, allocations: 2.298 MB / 0.5343 GB, free: 78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.5693, allocations: 31.66 kB / 0.5343 GB, free: 77.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.5694, allocations: 35.94 kB / 0.5344 GB, free: 77.94 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T2.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 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000415/0.5698, allocations: 281.3 kB / 0.5346 GB, free: 77.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.5699, allocations: 177.9 kB / 0.5348 GB, free: 77.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.5716, allocations: 0.9073 MB / 0.5357 GB, free: 76.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.5716, allocations: 4 kB / 0.5357 GB, free: 76.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5716, allocations: 4 kB / 0.5357 GB, free: 76.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.5716, allocations: 0 / 0.5357 GB, free: 76.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008035/0.5724, allocations: 0.8709 MB / 0.5365 GB, free: 75.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.303e-05/0.5725, allocations: 60 kB / 0.5366 GB, free: 75.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.5728, allocations: 65.59 kB / 0.5367 GB, free: 75.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003074/0.5731, allocations: 153.7 kB / 0.5368 GB, free: 75.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.5732, allocations: 16 kB / 0.5368 GB, free: 75.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.5751, allocations: 2.281 MB / 0.539 GB, free: 73.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5752, allocations: 0 / 0.539 GB, free: 73.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.5767, allocations: 1.095 MB / 0.5401 GB, free: 72.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.577, allocations: 248.8 kB / 0.5404 GB, free: 72.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.5772, allocations: 12 kB / 0.5404 GB, free: 72.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.5776, allocations: 19.7 kB / 0.5404 GB, free: 72.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.5777, allocations: 49.3 kB / 0.5404 GB, free: 72.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.5777, allocations: 27.47 kB / 0.5405 GB, free: 72.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008257/0.5786, allocations: 0.8449 MB / 0.5413 GB, free: 71.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5786, allocations: 0 / 0.5413 GB, free: 71.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008751/0.5795, allocations: 427.5 kB / 0.5417 GB, free: 70.93 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007441/0.5802, allocations: 0.5253 MB / 0.5422 GB, free: 70.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.5816, allocations: 0.8678 MB / 0.5431 GB, free: 69.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5816, allocations: 0 / 0.5431 GB, free: 69.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008449/0.5824, allocations: 0.6096 MB / 0.5436 GB, free: 68.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/0.5831, allocations: 171.4 kB / 0.5438 GB, free: 68.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.586, allocations: 2.747 MB / 0.5465 GB, free: 66.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.5864, allocations: 1.169 MB / 0.5476 GB, free: 64.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004956/0.5869, allocations: 153.5 kB / 0.5478 GB, free: 64.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.997e-05/0.587, allocations: 67.44 kB / 0.5478 GB, free: 64.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.587, allocations: 0 / 0.5478 GB, free: 64.59 MB / 378.7 MB Notification: Performance of Templates: time 0.02103/0.6081, allocations: 13.98 MB / 0.5615 GB, free: 50.66 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches