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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001031/0.001031, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008933/0.0008934, allocations: 81.2 kB / 292.1 MB, free: 6.047 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.755e-05, allocations: 4 kB / 350.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09942/0.09946, allocations: 51.48 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.4284, allocations: 93.3 MB / 495.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/0.4286, allocations: 70.58 kB / 495.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.119/0.5476, allocations: 58.18 MB / 0.5406 GB, free: 3.594 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5477, allocations: 0 / 0.5406 GB, free: 3.594 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001299/0.5478, allocations: 24 kB / 0.5406 GB, free: 3.57 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.003294/0.5511, allocations: 1.549 MB / 0.5421 GB, free: 1.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.5512, allocations: 12.03 kB / 0.5421 GB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003788/0.5516, allocations: 193.8 kB / 0.5423 GB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.5538, allocations: 1.139 MB / 0.5434 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.5538, allocations: 38.72 kB / 0.5435 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.554, allocations: 51.98 kB / 0.5435 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008288/0.5548, allocations: 480.3 kB / 0.544 GB, free: 28 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.5548, allocations: 0 / 0.544 GB, free: 28 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.5549, allocations: 16 kB / 0.544 GB, free: 12 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-05/0.5549, allocations: 27.94 kB / 0.544 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006544/0.5556, allocations: 412.2 kB / 0.5444 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/0.5588, allocations: 2.12 MB / 0.5465 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007109/0.5595, allocations: 0.6557 MB / 0.5471 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005921/0.5601, allocations: 0.4942 MB / 0.5476 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009312/0.5694, allocations: 7.775 MB / 0.5552 GB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004472/0.5699, allocations: 266.6 kB / 0.5555 GB, free: 2.938 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 2.534e-06/0.57, allocations: 0 / 0.5555 GB, free: 2.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=59): time 0.002758/0.5727, allocations: 1.672 MB / 0.5571 GB, free: 1.207 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.5728, allocations: 63.83 kB / 0.5572 GB, free: 1.133 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.5742, allocations: 1.068 MB / 0.5582 GB, free: 72 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.5742, allocations: 39.48 kB / 0.5582 GB, free: 28 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005515/0.5748, allocations: 0.7111 MB / 0.5589 GB, free: 15.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.5749, allocations: 205 kB / 0.5591 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.575, allocations: 12 kB / 0.5591 GB, free: 15.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.5751, allocations: 330 kB / 0.5594 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.5754, allocations: 173.5 kB / 0.5596 GB, free: 14.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.5757, allocations: 327.7 kB / 0.5599 GB, free: 14.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.5761, allocations: 223 kB / 0.5601 GB, free: 13.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5761, allocations: 0 / 0.5601 GB, free: 13.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001373/0.5775, allocations: 0.8484 MB / 0.561 GB, free: 13.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5775, allocations: 8.062 kB / 0.561 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.889e-05/0.5776, allocations: 63.94 kB / 0.561 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004343/0.578, allocations: 150 kB / 0.5612 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.5785, allocations: 123.8 kB / 0.5613 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.5812, allocations: 2.284 MB / 0.5635 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007264/0.5819, allocations: 28.03 kB / 0.5636 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.582, allocations: 36 kB / 0.5636 GB, free: 10.32 MB / 442.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 (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,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.5822, allocations: 145.7 kB / 0.5637 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003476/0.5826, allocations: 181.8 kB / 0.5639 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.5846, allocations: 0.8498 MB / 0.5647 GB, free: 9.125 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.5846, allocations: 4 kB / 0.5647 GB, free: 9.121 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5846, allocations: 7.953 kB / 0.5647 GB, free: 9.113 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5847, allocations: 0 / 0.5647 GB, free: 9.113 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.5862, allocations: 0.8669 MB / 0.5656 GB, free: 8.199 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.225e-05/0.5863, allocations: 51.98 kB / 0.5656 GB, free: 8.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.5866, allocations: 71.89 kB / 0.5657 GB, free: 8.078 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003771/0.587, allocations: 150.5 kB / 0.5659 GB, free: 7.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-05/0.587, allocations: 23.95 kB / 0.5659 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002787/0.5898, allocations: 2.262 MB / 0.5681 GB, free: 5.512 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5899, allocations: 5.109 kB / 0.5681 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.5917, allocations: 0.9711 MB / 0.569 GB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000585/0.5923, allocations: 254.9 kB / 0.5693 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.5926, allocations: 12 kB / 0.5693 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.5931, allocations: 27.88 kB / 0.5693 GB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.5932, allocations: 52.38 kB / 0.5694 GB, free: 4.156 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/0.5933, allocations: 20.11 kB / 0.5694 GB, free: 4.137 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001465/0.5947, allocations: 0.8306 MB / 0.5702 GB, free: 3.316 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5947, allocations: 3.938 kB / 0.5702 GB, free: 3.312 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001232/0.596, allocations: 431.5 kB / 0.5706 GB, free: 2.891 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 (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.0009544/0.5969, allocations: 0.5463 MB / 0.5711 GB, free: 2.332 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.5982, allocations: 0.7666 MB / 0.5719 GB, free: 1.543 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5983, allocations: 0 / 0.5719 GB, free: 1.543 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008405/0.5991, allocations: 0.5705 MB / 0.5725 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007883/0.5999, allocations: 180.3 kB / 0.5726 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2391/0.839, allocations: 1.788 MB / 0.5744 GB, free: 95.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000854/0.8399, allocations: 1.2 MB / 0.5755 GB, free: 94.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007289/0.8406, allocations: 154.9 kB / 0.5757 GB, free: 94.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.8408, allocations: 70.72 kB / 0.5758 GB, free: 94.74 MB / 442.7 MB Notification: Performance of SimCode: time 1.183e-06/0.8408, allocations: 0 / 0.5758 GB, free: 94.74 MB / 442.7 MB Notification: Performance of Templates: time 0.02377/0.8645, allocations: 14.25 MB / 0.5897 GB, free: 94.2 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