Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 181.3 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008648/0.0008648, allocations: 98.58 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002626, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2512, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1314/0.3827, allocations: 90.35 MB / 466.2 MB, free: 6.285 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.3831, allocations: 79.97 kB / 466.2 MB, free: 6.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2992/0.6823, allocations: 54.6 MB / 0.5086 GB, free: 94.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6824, allocations: 0 / 0.5086 GB, free: 94.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.495e-05/0.6825, allocations: 23.12 kB / 0.5087 GB, free: 94.84 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.003397/0.6859, allocations: 1.848 MB / 0.5105 GB, free: 93.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.6859, allocations: 7.781 kB / 0.5105 GB, free: 93.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003164/0.6862, allocations: 194.3 kB / 0.5107 GB, free: 93.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.688, allocations: 1.158 MB / 0.5118 GB, free: 93.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.688, allocations: 32.88 kB / 0.5118 GB, free: 93.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-05/0.6881, allocations: 46.06 kB / 0.5119 GB, free: 93.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008661/0.689, allocations: 0.5146 MB / 0.5124 GB, free: 93.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.689, allocations: 4 kB / 0.5124 GB, free: 93.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/0.6891, allocations: 15.88 kB / 0.5124 GB, free: 93.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.6891, allocations: 19.25 kB / 0.5124 GB, free: 93.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007904/0.6899, allocations: 494.5 kB / 0.5129 GB, free: 92.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.6926, allocations: 2.115 MB / 0.5149 GB, free: 91.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000805/0.6934, allocations: 0.7241 MB / 0.5156 GB, free: 91.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00705/0.7005, allocations: 7.689 MB / 0.5232 GB, free: 84.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004765/0.701, allocations: 308.1 kB / 0.5234 GB, free: 84.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 2.895e-06/0.701, allocations: 0 / 0.5234 GB, free: 84.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.003214/0.7042, allocations: 2.158 MB / 0.5256 GB, free: 82.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.7043, allocations: 65.45 kB / 0.5256 GB, free: 82.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.7055, allocations: 1.086 MB / 0.5267 GB, free: 82.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.7056, allocations: 37.2 kB / 0.5267 GB, free: 82.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/0.706, allocations: 0.7128 MB / 0.5274 GB, free: 81.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.7061, allocations: 203.8 kB / 0.5276 GB, free: 81.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.7061, allocations: 10.09 kB / 0.5276 GB, free: 81.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.095e-05/0.7062, allocations: 334.5 kB / 0.5279 GB, free: 81.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.7066, allocations: 206.7 kB / 0.5281 GB, free: 81.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.707, allocations: 369.1 kB / 0.5285 GB, free: 81.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.7074, allocations: 256.5 kB / 0.5287 GB, free: 80.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7074, allocations: 4 kB / 0.5287 GB, free: 80.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001406/0.7088, allocations: 0.9215 MB / 0.5296 GB, free: 80.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.7089, allocations: 6.094 kB / 0.5296 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.428e-05/0.7089, allocations: 61.05 kB / 0.5297 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004236/0.7094, allocations: 157.7 kB / 0.5298 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.7098, allocations: 120.7 kB / 0.53 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.7122, allocations: 2.33 MB / 0.5322 GB, free: 78.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.7127, allocations: 36.95 kB / 0.5323 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.7128, allocations: 32.25 kB / 0.5323 GB, free: 78.62 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real 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,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005436/0.7134, allocations: 276.8 kB / 0.5326 GB, free: 78.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.7136, allocations: 188.2 kB / 0.5327 GB, free: 78.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.7154, allocations: 0.9157 MB / 0.5336 GB, free: 77.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.7154, allocations: 8 kB / 0.5336 GB, free: 77.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7154, allocations: 0 / 0.5336 GB, free: 77.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.7155, allocations: 11.59 kB / 0.5337 GB, free: 77.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/0.7164, allocations: 0.8638 MB / 0.5345 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-05/0.7165, allocations: 55.33 kB / 0.5346 GB, free: 76.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.7168, allocations: 72.45 kB / 0.5346 GB, free: 76.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.7171, allocations: 142.4 kB / 0.5348 GB, free: 76.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.7171, allocations: 23.47 kB / 0.5348 GB, free: 76.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.7191, allocations: 2.315 MB / 0.537 GB, free: 74.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.7191, allocations: 0 / 0.537 GB, free: 74.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.7207, allocations: 1.095 MB / 0.5381 GB, free: 73.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.721, allocations: 249.6 kB / 0.5384 GB, free: 73.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.7212, allocations: 11.56 kB / 0.5384 GB, free: 73.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.7215, allocations: 27.61 kB / 0.5384 GB, free: 73.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.7216, allocations: 46.53 kB / 0.5384 GB, free: 73.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.7217, allocations: 24 kB / 0.5385 GB, free: 73.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008675/0.7226, allocations: 0.8463 MB / 0.5393 GB, free: 72.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7226, allocations: 0 / 0.5393 GB, free: 72.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009946/0.7236, allocations: 425.4 kB / 0.5397 GB, free: 72.03 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.0007948/0.7244, allocations: 0.5321 MB / 0.5402 GB, free: 71.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.7257, allocations: 0.8602 MB / 0.541 GB, free: 70.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7257, allocations: 0 / 0.541 GB, free: 70.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000802/0.7265, allocations: 0.6177 MB / 0.5417 GB, free: 70.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.727, allocations: 154.3 kB / 0.5418 GB, free: 70.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.7301, allocations: 2.748 MB / 0.5445 GB, free: 67.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.7306, allocations: 1.2 MB / 0.5457 GB, free: 66.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004818/0.7311, allocations: 149 kB / 0.5458 GB, free: 65.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.84e-05/0.7312, allocations: 67.44 kB / 0.5459 GB, free: 65.8 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.7312, allocations: 4 kB / 0.5459 GB, free: 65.8 MB / 378.7 MB Notification: Performance of Templates: time 0.02154/0.7528, allocations: 13.42 MB / 0.559 GB, free: 52.41 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches