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.001002/0.001002, allocations: 202.3 kB / 17.08 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.189/1.189, allocations: 227.2 MB / 245 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008307/0.0008307, allocations: 96.44 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002219/0.000222, allocations: 8 kB / 357.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.181, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09928/0.2803, allocations: 93.36 MB / 0.491 GB, free: 13.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.2806, allocations: 71.95 kB / 0.4911 GB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2442/0.5248, allocations: 58.32 MB / 0.548 GB, free: 62.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5248, allocations: 0 / 0.548 GB, free: 62.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.863e-05/0.5249, allocations: 28 kB / 0.548 GB, free: 62.3 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.002718/0.5276, allocations: 1.855 MB / 0.5499 GB, free: 60.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.5277, allocations: 8.031 kB / 0.5499 GB, free: 60.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.5279, allocations: 197.7 kB / 0.55 GB, free: 60.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.5293, allocations: 1.15 MB / 0.5512 GB, free: 58.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.5294, allocations: 37 kB / 0.5512 GB, free: 58.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/0.5294, allocations: 40 kB / 0.5512 GB, free: 58.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/0.5302, allocations: 0.5197 MB / 0.5518 GB, free: 58.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.5302, allocations: 0 / 0.5518 GB, free: 58.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.5303, allocations: 16 kB / 0.5518 GB, free: 58.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.5303, allocations: 27.88 kB / 0.5518 GB, free: 58.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007556/0.531, allocations: 492.1 kB / 0.5523 GB, free: 57.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.5335, allocations: 2.129 MB / 0.5543 GB, free: 55.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/0.5343, allocations: 0.7362 MB / 0.5551 GB, free: 54.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007214/0.5415, allocations: 7.698 MB / 0.5626 GB, free: 45.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005362/0.5421, allocations: 302.5 kB / 0.5629 GB, free: 45.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 3.377e-06/0.5421, allocations: 0 / 0.5629 GB, free: 45.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.003471/0.5456, allocations: 2.17 MB / 0.565 GB, free: 43.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.5456, allocations: 55.84 kB / 0.565 GB, free: 43.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.5467, allocations: 1.084 MB / 0.5661 GB, free: 42.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.5468, allocations: 33.7 kB / 0.5661 GB, free: 42.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000394/0.5472, allocations: 0.7188 MB / 0.5668 GB, free: 41.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.902e-05/0.5473, allocations: 205 kB / 0.567 GB, free: 41.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.5473, allocations: 16 kB / 0.567 GB, free: 41.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.5474, allocations: 329.9 kB / 0.5674 GB, free: 40.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.5477, allocations: 205.6 kB / 0.5676 GB, free: 40.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.5481, allocations: 375.4 kB / 0.5679 GB, free: 40.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.5485, allocations: 257.9 kB / 0.5682 GB, free: 40.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5486, allocations: 7.922 kB / 0.5682 GB, free: 40.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001256/0.5498, allocations: 0.9223 MB / 0.5691 GB, free: 39.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.5498, allocations: 11.98 kB / 0.5691 GB, free: 39.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-05/0.5499, allocations: 55.95 kB / 0.5691 GB, free: 39.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/0.5503, allocations: 165.1 kB / 0.5693 GB, free: 38.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.5507, allocations: 111.9 kB / 0.5694 GB, free: 38.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.5526, allocations: 2.334 MB / 0.5717 GB, free: 36.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.5531, allocations: 43.97 kB / 0.5717 GB, free: 36.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.5532, allocations: 35.98 kB / 0.5718 GB, free: 36.22 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.0003411/0.5535, allocations: 270.8 kB / 0.572 GB, free: 35.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.5537, allocations: 177.9 kB / 0.5722 GB, free: 35.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.5553, allocations: 0.9176 MB / 0.5731 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.5553, allocations: 8 kB / 0.5731 GB, free: 34.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5553, allocations: 7.953 kB / 0.5731 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5553, allocations: 3.984 kB / 0.5731 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007601/0.5561, allocations: 0.8593 MB / 0.5739 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.168e-05/0.5561, allocations: 51.98 kB / 0.574 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.5564, allocations: 75.89 kB / 0.5741 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002867/0.5567, allocations: 150.7 kB / 0.5742 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.5568, allocations: 23.95 kB / 0.5742 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.5586, allocations: 2.3 MB / 0.5765 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5586, allocations: 3.938 kB / 0.5765 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.56, allocations: 1.096 MB / 0.5775 GB, free: 30.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.5604, allocations: 247 kB / 0.5778 GB, free: 29.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.5605, allocations: 12.11 kB / 0.5778 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.5609, allocations: 31.94 kB / 0.5778 GB, free: 29.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.561, allocations: 44.38 kB / 0.5779 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.561, allocations: 27.98 kB / 0.5779 GB, free: 29.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007683/0.5618, allocations: 0.8421 MB / 0.5787 GB, free: 28.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5618, allocations: 4 kB / 0.5787 GB, free: 28.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000899/0.5627, allocations: 435.5 kB / 0.5791 GB, free: 28.43 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.0007323/0.5635, allocations: 0.5356 MB / 0.5797 GB, free: 27.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.5647, allocations: 0.8564 MB / 0.5805 GB, free: 27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5647, allocations: 0 / 0.5805 GB, free: 27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007735/0.5655, allocations: 0.6175 MB / 0.5811 GB, free: 26.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.5661, allocations: 180.2 kB / 0.5813 GB, free: 26.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.5689, allocations: 2.736 MB / 0.5839 GB, free: 23.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.5693, allocations: 1.204 MB / 0.5851 GB, free: 22.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004708/0.5698, allocations: 157.5 kB / 0.5853 GB, free: 22.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.356e-05/0.5699, allocations: 67.44 kB / 0.5853 GB, free: 21.95 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5699, allocations: 0 / 0.5853 GB, free: 21.95 MB / 378.7 MB Notification: Performance of Templates: time 0.01903/0.589, allocations: 13.5 MB / 0.5985 GB, free: 8.5 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/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