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.00108/0.00108, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.5 MB / 245.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008081/0.0008081, allocations: 92.41 kB / 297.5 MB, free: 6.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001993/0.0001994, allocations: 8 kB / 358.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1844, allocations: 51.29 MB / 409.4 MB, free: 27.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09883/0.2833, allocations: 93.33 MB / 0.4909 GB, free: 14.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.2835, allocations: 72.53 kB / 0.491 GB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2696/0.5531, allocations: 57.6 MB / 0.5472 GB, free: 64.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5531, allocations: 0 / 0.5472 GB, free: 64.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.558e-05/0.5532, allocations: 24 kB / 0.5473 GB, free: 64.09 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.002824/0.5561, allocations: 1.828 MB / 0.549 GB, free: 62.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.5561, allocations: 12.03 kB / 0.5491 GB, free: 62.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.5563, allocations: 203.1 kB / 0.5493 GB, free: 61.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.5578, allocations: 1.22 MB / 0.5504 GB, free: 60.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.5578, allocations: 33.38 kB / 0.5505 GB, free: 60.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.942e-05/0.5579, allocations: 44.38 kB / 0.5505 GB, free: 60.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007907/0.5587, allocations: 0.5244 MB / 0.551 GB, free: 60.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.5588, allocations: 0 / 0.551 GB, free: 60.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.5588, allocations: 23.88 kB / 0.5511 GB, free: 60.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.5588, allocations: 19.94 kB / 0.5511 GB, free: 60.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007952/0.5596, allocations: 492.1 kB / 0.5515 GB, free: 59.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.5627, allocations: 2.122 MB / 0.5536 GB, free: 57.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/0.5636, allocations: 0.7394 MB / 0.5543 GB, free: 56.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005899/0.5642, allocations: 0.5173 MB / 0.5548 GB, free: 56.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007643/0.5718, allocations: 7.69 MB / 0.5624 GB, free: 47.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004839/0.5724, allocations: 302.5 kB / 0.5626 GB, free: 46.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 3.356e-06/0.5724, allocations: 0 / 0.5626 GB, free: 46.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.003137/0.5755, allocations: 2.003 MB / 0.5646 GB, free: 44.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.5756, allocations: 59.78 kB / 0.5647 GB, free: 44.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.5769, allocations: 1.288 MB / 0.5659 GB, free: 43.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.5769, allocations: 29.7 kB / 0.5659 GB, free: 43.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.5773, allocations: 0.7111 MB / 0.5666 GB, free: 42.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.5774, allocations: 205.1 kB / 0.5668 GB, free: 42.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.5774, allocations: 12 kB / 0.5668 GB, free: 42.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.5775, allocations: 333.9 kB / 0.5672 GB, free: 42.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.5779, allocations: 205.6 kB / 0.5674 GB, free: 41.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.5783, allocations: 375.8 kB / 0.5677 GB, free: 41.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008235/0.5791, allocations: 0.6105 MB / 0.5683 GB, free: 40.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5791, allocations: 0 / 0.5683 GB, free: 40.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001361/0.5805, allocations: 0.9376 MB / 0.5692 GB, free: 39.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.5805, allocations: 4 kB / 0.5692 GB, free: 39.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-05/0.5806, allocations: 60 kB / 0.5693 GB, free: 39.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003514/0.5809, allocations: 155.8 kB / 0.5694 GB, free: 39.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.5814, allocations: 119.8 kB / 0.5695 GB, free: 39.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.5834, allocations: 2.303 MB / 0.5718 GB, free: 37.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/0.5839, allocations: 36.02 kB / 0.5718 GB, free: 37.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.584, allocations: 35.94 kB / 0.5719 GB, free: 37.05 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 () * 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.0004214/0.5844, allocations: 274.2 kB / 0.5721 GB, free: 36.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.5846, allocations: 181.9 kB / 0.5723 GB, free: 36.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.5862, allocations: 0.8943 MB / 0.5732 GB, free: 35.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.5862, allocations: 15.98 kB / 0.5732 GB, free: 35.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5862, allocations: 4 kB / 0.5732 GB, free: 35.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5863, allocations: 0 / 0.5732 GB, free: 35.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008802/0.5871, allocations: 0.8747 MB / 0.574 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-05/0.5872, allocations: 52 kB / 0.5741 GB, free: 34.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.5875, allocations: 67.89 kB / 0.5742 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002977/0.5878, allocations: 155.5 kB / 0.5743 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.5879, allocations: 20 kB / 0.5743 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.5898, allocations: 2.27 MB / 0.5765 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5898, allocations: 3.938 kB / 0.5765 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.5913, allocations: 1.092 MB / 0.5776 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.5916, allocations: 247 kB / 0.5779 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.5918, allocations: 12 kB / 0.5779 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.5922, allocations: 27.98 kB / 0.5779 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.5923, allocations: 44.38 kB / 0.5779 GB, free: 30.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.5923, allocations: 23.98 kB / 0.578 GB, free: 30.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008816/0.5932, allocations: 0.846 MB / 0.5788 GB, free: 29.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5932, allocations: 0 / 0.5788 GB, free: 29.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009482/0.5942, allocations: 431.5 kB / 0.5792 GB, free: 29.32 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.0007304/0.5949, allocations: 0.5354 MB / 0.5797 GB, free: 28.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.5963, allocations: 0.8602 MB / 0.5806 GB, free: 27.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5963, allocations: 0 / 0.5806 GB, free: 27.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008034/0.5971, allocations: 0.6176 MB / 0.5812 GB, free: 27.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.598, allocations: 183.6 kB / 0.5813 GB, free: 27.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.6013, allocations: 2.752 MB / 0.584 GB, free: 24.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.6018, allocations: 1.169 MB / 0.5852 GB, free: 23.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005478/0.6023, allocations: 153.5 kB / 0.5853 GB, free: 22.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.6024, allocations: 71.44 kB / 0.5854 GB, free: 22.86 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.6025, allocations: 0 / 0.5854 GB, free: 22.86 MB / 378.7 MB Notification: Performance of Templates: time 0.02273/0.6252, allocations: 14.05 MB / 0.5991 GB, free: 8.836 MB / 378.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/jenkins1/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