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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001053/0.001053, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009071/0.0009071, allocations: 94.38 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.154e-06/7.194e-06, allocations: 4 kB / 343.1 MB, free: 8.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09307/0.09309, allocations: 51.48 MB / 394.6 MB, free: 5.199 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2428/0.3359, allocations: 92.55 MB / 487.2 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.3362, allocations: 78.98 kB / 487.2 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1163/0.4525, allocations: 55.43 MB / 0.53 GB, free: 14.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001176/0.4526, allocations: 24 kB / 0.53 GB, free: 14.73 MB / 410.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.003304/0.4559, allocations: 1.572 MB / 0.5315 GB, free: 13.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.456, allocations: 8.031 kB / 0.5315 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/0.4564, allocations: 201.7 kB / 0.5317 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.4584, allocations: 1.135 MB / 0.5328 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.4584, allocations: 23.84 kB / 0.5328 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.992e-05/0.4585, allocations: 24 kB / 0.5329 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007514/0.4593, allocations: 394.2 kB / 0.5332 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007213/0.46, allocations: 418.3 kB / 0.5336 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.46, allocations: 0 / 0.5336 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/0.4601, allocations: 7.984 kB / 0.5337 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.4601, allocations: 12 kB / 0.5337 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.4635, allocations: 2.041 MB / 0.5357 GB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/0.4641, allocations: 437.1 kB / 0.5361 GB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005887/0.4647, allocations: 457.4 kB / 0.5365 GB, free: 7.859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/0.475, allocations: 7.717 MB / 0.544 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004393/0.4754, allocations: 247.7 kB / 0.5443 GB, free: 14.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 3.156e-06/0.4755, allocations: 0 / 0.5443 GB, free: 14.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.004937/0.4804, allocations: 2.105 MB / 0.5463 GB, free: 12.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.4805, allocations: 63.83 kB / 0.5464 GB, free: 12.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.482, allocations: 0.9942 MB / 0.5474 GB, free: 11.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.4821, allocations: 25.7 kB / 0.5474 GB, free: 11.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.4824, allocations: 364.3 kB / 0.5477 GB, free: 11.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.4826, allocations: 205 kB / 0.5479 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.4827, allocations: 4 kB / 0.5479 GB, free: 10.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4828, allocations: 331.2 kB / 0.5483 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.4831, allocations: 161.4 kB / 0.5484 GB, free: 10.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.4835, allocations: 317.8 kB / 0.5487 GB, free: 9.992 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/0.4843, allocations: 338.7 kB / 0.549 GB, free: 9.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.4843, allocations: 0 / 0.549 GB, free: 9.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001883/0.4862, allocations: 0.935 MB / 0.5499 GB, free: 8.711 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4862, allocations: 4 kB / 0.55 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/0.4864, allocations: 63.98 kB / 0.55 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004418/0.4868, allocations: 139.3 kB / 0.5501 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.4874, allocations: 127.8 kB / 0.5503 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/0.4902, allocations: 2.196 MB / 0.5524 GB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007248/0.491, allocations: 27.91 kB / 0.5524 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.838e-05/0.4911, allocations: 32 kB / 0.5525 GB, free: 6.02 MB / 426.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.0001606/0.4913, allocations: 118.4 kB / 0.5526 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.4916, allocations: 193.9 kB / 0.5528 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/0.4944, allocations: 1.014 MB / 0.5538 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.4944, allocations: 4 kB / 0.5538 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.4944, allocations: 4 kB / 0.5538 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.4944, allocations: 7.984 kB / 0.5538 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.4958, allocations: 0.7887 MB / 0.5545 GB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.537e-05/0.4959, allocations: 55.98 kB / 0.5546 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.4963, allocations: 72.02 kB / 0.5547 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003916/0.4967, allocations: 148.7 kB / 0.5548 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.4968, allocations: 16 kB / 0.5548 GB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.4994, allocations: 2.169 MB / 0.5569 GB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4994, allocations: 0 / 0.5569 GB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001953/0.5014, allocations: 1.079 MB / 0.558 GB, free: 176 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004376/0.5019, allocations: 250.9 kB / 0.5582 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/0.5021, allocations: 11.84 kB / 0.5582 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.5026, allocations: 25.84 kB / 0.5583 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.5027, allocations: 36.39 kB / 0.5583 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.748e-05/0.5027, allocations: 23.98 kB / 0.5583 GB, free: 15.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.00107/0.5038, allocations: 0.7448 MB / 0.5591 GB, free: 15.08 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001078/0.5049, allocations: 403.5 kB / 0.5594 GB, free: 14.68 MB / 442.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.001069/0.506, allocations: 0.5877 MB / 0.56 GB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.5073, allocations: 0.7246 MB / 0.5607 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5074, allocations: 4.062 kB / 0.5607 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008902/0.5083, allocations: 0.5194 MB / 0.5612 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007395/0.509, allocations: 180.6 kB / 0.5614 GB, free: 12.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.5123, allocations: 1.792 MB / 0.5632 GB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008611/0.5132, allocations: 1.263 MB / 0.5644 GB, free: 9.5 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5132, allocations: 0 / 0.5644 GB, free: 9.5 MB / 442.7 MB Notification: Performance of Templates: time 0.1796/0.6928, allocations: 12.57 MB / 0.5767 GB, free: 148.1 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches