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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009746/0.0009746, allocations: 171.8 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.3 MB / 241.4 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007576/0.0007577, allocations: 105.5 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002737/0.0002738, allocations: 11.94 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2303, allocations: 50.4 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09797/0.3283, allocations: 92.62 MB / 495.4 MB, free: 3.719 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.3285, allocations: 75.97 kB / 495.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.293/0.6216, allocations: 57.51 MB / 0.54 GB, free: 73.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6216, allocations: 0 / 0.54 GB, free: 73.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.04e-05/0.6217, allocations: 27.98 kB / 0.54 GB, free: 73.91 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.002517/0.6242, allocations: 1.82 MB / 0.5418 GB, free: 72.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.6242, allocations: 12.25 kB / 0.5418 GB, free: 72.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.6244, allocations: 198.6 kB / 0.542 GB, free: 71.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.6258, allocations: 1.228 MB / 0.5432 GB, free: 70.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.6259, allocations: 37.31 kB / 0.5432 GB, free: 70.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.6259, allocations: 48.36 kB / 0.5433 GB, free: 70.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007648/0.6267, allocations: 0.5205 MB / 0.5438 GB, free: 69.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.6267, allocations: 0 / 0.5438 GB, free: 69.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.6268, allocations: 19.94 kB / 0.5438 GB, free: 69.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.6268, allocations: 19.98 kB / 0.5438 GB, free: 69.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007755/0.6276, allocations: 492.1 kB / 0.5443 GB, free: 69.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.6301, allocations: 2.106 MB / 0.5463 GB, free: 67.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007423/0.6308, allocations: 0.7262 MB / 0.547 GB, free: 66.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000627/0.6315, allocations: 0.5366 MB / 0.5476 GB, free: 65.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006624/0.6381, allocations: 7.663 MB / 0.5551 GB, free: 57.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004468/0.6386, allocations: 302.5 kB / 0.5553 GB, free: 56.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 2.184e-06/0.6386, allocations: 0 / 0.5553 GB, free: 56.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.00325/0.6418, allocations: 1.999 MB / 0.5573 GB, free: 54.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.6419, allocations: 63.84 kB / 0.5574 GB, free: 54.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.6433, allocations: 1.28 MB / 0.5586 GB, free: 53.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.6433, allocations: 33.7 kB / 0.5586 GB, free: 53.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.6438, allocations: 0.7188 MB / 0.5593 GB, free: 52.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.6439, allocations: 197.2 kB / 0.5595 GB, free: 52.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.6439, allocations: 12 kB / 0.5595 GB, free: 52.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.644, allocations: 341.9 kB / 0.5599 GB, free: 52.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.6444, allocations: 201.6 kB / 0.5601 GB, free: 51.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.6449, allocations: 375.9 kB / 0.5604 GB, free: 51.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009273/0.6458, allocations: 0.6143 MB / 0.561 GB, free: 50.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6459, allocations: 11.94 kB / 0.561 GB, free: 50.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001533/0.6474, allocations: 0.9181 MB / 0.5619 GB, free: 49.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6474, allocations: 8 kB / 0.5619 GB, free: 49.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.253e-05/0.6475, allocations: 64.61 kB / 0.562 GB, free: 49.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003912/0.6479, allocations: 159.3 kB / 0.5621 GB, free: 49.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.6483, allocations: 123.8 kB / 0.5623 GB, free: 49.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.6503, allocations: 2.298 MB / 0.5645 GB, free: 46.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/0.6507, allocations: 32.03 kB / 0.5645 GB, free: 46.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.6508, allocations: 39.94 kB / 0.5646 GB, free: 46.91 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.0003461/0.6511, allocations: 277.6 kB / 0.5648 GB, free: 46.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.6513, allocations: 177.9 kB / 0.565 GB, free: 46.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.6528, allocations: 0.8983 MB / 0.5659 GB, free: 45.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.6528, allocations: 7.938 kB / 0.5659 GB, free: 45.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6529, allocations: 4 kB / 0.5659 GB, free: 45.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.6529, allocations: 3.984 kB / 0.5659 GB, free: 45.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007348/0.6536, allocations: 0.8592 MB / 0.5667 GB, free: 44.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.065e-05/0.6537, allocations: 55.98 kB / 0.5668 GB, free: 44.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.654, allocations: 63.95 kB / 0.5669 GB, free: 44.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002896/0.6543, allocations: 148.7 kB / 0.567 GB, free: 44.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.6543, allocations: 19.98 kB / 0.567 GB, free: 44.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.6562, allocations: 2.286 MB / 0.5692 GB, free: 41.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6562, allocations: 0 / 0.5692 GB, free: 41.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.6577, allocations: 1.092 MB / 0.5703 GB, free: 40.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.6579, allocations: 247 kB / 0.5706 GB, free: 40.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.6581, allocations: 12 kB / 0.5706 GB, free: 40.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.6584, allocations: 27.92 kB / 0.5706 GB, free: 40.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/0.6585, allocations: 48.47 kB / 0.5706 GB, free: 40.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.6586, allocations: 23.97 kB / 0.5707 GB, free: 40.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008052/0.6594, allocations: 0.8421 MB / 0.5715 GB, free: 39.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6594, allocations: 0 / 0.5715 GB, free: 39.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000831/0.6602, allocations: 435.5 kB / 0.5719 GB, free: 39.18 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.0006944/0.6609, allocations: 0.5242 MB / 0.5724 GB, free: 38.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.6621, allocations: 0.8678 MB / 0.5733 GB, free: 37.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6622, allocations: 3.938 kB / 0.5733 GB, free: 37.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.6629, allocations: 0.6175 MB / 0.5739 GB, free: 37.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00076/0.6637, allocations: 197 kB / 0.5741 GB, free: 36.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.6664, allocations: 2.744 MB / 0.5767 GB, free: 34.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.6669, allocations: 1.173 MB / 0.5779 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005009/0.6674, allocations: 153.5 kB / 0.578 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.458e-05/0.6675, allocations: 71.44 kB / 0.5781 GB, free: 32.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6675, allocations: 3.938 kB / 0.5781 GB, free: 32.71 MB / 378.7 MB Notification: Performance of Templates: time 0.02047/0.688, allocations: 14.02 MB / 0.5918 GB, free: 18.75 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/jenkins1/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