Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 184.5 kB / 8.138 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.138/1.138, allocations: 221.4 MB / 229.9 MB, free: 3.07 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008395/0.0008395, allocations: 95.59 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.009e-05, allocations: 4 kB / 336.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1864, allocations: 50.4 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.2991, allocations: 91.74 MB / 478.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.2994, allocations: 71.97 kB / 478.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2435/0.5429, allocations: 55.28 MB / 0.5215 GB, free: 86.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.714e-05/0.543, allocations: 27.91 kB / 0.5215 GB, free: 86.79 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.002038/0.5451, allocations: 1.558 MB / 0.523 GB, free: 85.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.5451, allocations: 12.03 kB / 0.523 GB, free: 85.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.5453, allocations: 197.7 kB / 0.5232 GB, free: 84.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.5467, allocations: 1.146 MB / 0.5244 GB, free: 83.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.5468, allocations: 12 kB / 0.5244 GB, free: 83.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.029e-05/0.5468, allocations: 40.56 kB / 0.5244 GB, free: 83.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000568/0.5474, allocations: 390.2 kB / 0.5248 GB, free: 83.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000558/0.548, allocations: 418.3 kB / 0.5252 GB, free: 82.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.548, allocations: 3.938 kB / 0.5252 GB, free: 82.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.5481, allocations: 0 / 0.5252 GB, free: 82.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.5481, allocations: 19.98 kB / 0.5252 GB, free: 82.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.5505, allocations: 2.036 MB / 0.5272 GB, free: 80.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.551, allocations: 433.5 kB / 0.5276 GB, free: 80.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004319/0.5514, allocations: 465.5 kB / 0.528 GB, free: 79.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007054/0.5585, allocations: 7.7 MB / 0.5356 GB, free: 71.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000314/0.5588, allocations: 251.7 kB / 0.5358 GB, free: 70.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.404e-06/0.5589, allocations: 0 / 0.5358 GB, free: 70.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.003529/0.5624, allocations: 2.099 MB / 0.5379 GB, free: 68.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.5624, allocations: 59.83 kB / 0.5379 GB, free: 68.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.5635, allocations: 0.9825 MB / 0.5389 GB, free: 67.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.5636, allocations: 33.7 kB / 0.5389 GB, free: 67.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.5638, allocations: 364.2 kB / 0.5393 GB, free: 67.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.701e-05/0.5639, allocations: 208.9 kB / 0.5395 GB, free: 67.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.5639, allocations: 3.938 kB / 0.5395 GB, free: 67.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.564, allocations: 338 kB / 0.5398 GB, free: 66.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.5642, allocations: 157.4 kB / 0.5399 GB, free: 66.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.5644, allocations: 317.9 kB / 0.5402 GB, free: 66.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.565, allocations: 334.9 kB / 0.5405 GB, free: 65.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.565, allocations: 4 kB / 0.5406 GB, free: 65.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001323/0.5663, allocations: 0.9345 MB / 0.5415 GB, free: 64.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.5664, allocations: 4.625 kB / 0.5415 GB, free: 64.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.031e-05/0.5665, allocations: 59.98 kB / 0.5415 GB, free: 64.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.5668, allocations: 143.8 kB / 0.5417 GB, free: 64.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004539/0.5673, allocations: 127.8 kB / 0.5418 GB, free: 64.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.5693, allocations: 2.196 MB / 0.5439 GB, free: 62.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.5698, allocations: 23.98 kB / 0.544 GB, free: 62.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/0.5699, allocations: 36 kB / 0.544 GB, free: 62.18 MB / 378.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * 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 {(5,64.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.57, allocations: 114.5 kB / 0.5441 GB, free: 62.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.5701, allocations: 185.9 kB / 0.5443 GB, free: 61.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.5721, allocations: 1.023 MB / 0.5453 GB, free: 60.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5721, allocations: 11.94 kB / 0.5453 GB, free: 60.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5722, allocations: 4 kB / 0.5453 GB, free: 60.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5722, allocations: 3.984 kB / 0.5453 GB, free: 60.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007137/0.5729, allocations: 0.7808 MB / 0.5461 GB, free: 60.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.265e-05/0.573, allocations: 51.98 kB / 0.5461 GB, free: 59.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.5733, allocations: 79.89 kB / 0.5462 GB, free: 59.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003044/0.5736, allocations: 147.5 kB / 0.5463 GB, free: 59.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.5736, allocations: 12 kB / 0.5463 GB, free: 59.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.5755, allocations: 2.172 MB / 0.5485 GB, free: 57.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5755, allocations: 0 / 0.5485 GB, free: 57.46 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00137/0.5769, allocations: 1.083 MB / 0.5495 GB, free: 56.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.5771, allocations: 247 kB / 0.5497 GB, free: 56.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.5773, allocations: 16.02 kB / 0.5498 GB, free: 56.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.5777, allocations: 23.98 kB / 0.5498 GB, free: 56.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.006e-05/0.5778, allocations: 36.39 kB / 0.5498 GB, free: 56.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.5778, allocations: 19.98 kB / 0.5498 GB, free: 56 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0006654/0.5785, allocations: 0.7448 MB / 0.5506 GB, free: 55.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007874/0.5793, allocations: 407.5 kB / 0.551 GB, free: 54.87 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.vcs,T2.vbe,T2.vcs) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * 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.0006596/0.58, allocations: 0.5852 MB / 0.5515 GB, free: 54.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009783/0.581, allocations: 0.7322 MB / 0.5522 GB, free: 53.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.581, allocations: 0 / 0.5522 GB, free: 53.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006951/0.5817, allocations: 0.5257 MB / 0.5528 GB, free: 53.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/0.5823, allocations: 172.5 kB / 0.5529 GB, free: 52.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.585, allocations: 1.774 MB / 0.5547 GB, free: 51.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/0.5855, allocations: 1.263 MB / 0.5559 GB, free: 49.75 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5855, allocations: 0 / 0.5559 GB, free: 49.75 MB / 378.7 MB Notification: Performance of Templates: time 0.02051/0.606, allocations: 12.56 MB / 0.5681 GB, free: 37.34 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches