Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001484/0.001484, allocations: 177.3 kB / 17.41 MB, free: 4.289 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.334/1.334, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007891/0.0007892, allocations: 97.3 kB / 271.9 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004713, allocations: 8 kB / 328.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2765, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1575/0.4341, allocations: 90.44 MB / 466.2 MB, free: 6.215 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.4345, allocations: 75.97 kB / 466.2 MB, free: 6.141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.279/0.7135, allocations: 53.92 MB / 0.508 GB, free: 94.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7135, allocations: 0 / 0.508 GB, free: 94.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.181e-05/0.7136, allocations: 25.2 kB / 0.508 GB, free: 94.51 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.002092/0.7157, allocations: 1.829 MB / 0.5098 GB, free: 93.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.7157, allocations: 11.66 kB / 0.5098 GB, free: 93.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.7159, allocations: 191.5 kB / 0.51 GB, free: 93.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.7171, allocations: 1.23 MB / 0.5112 GB, free: 92.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.7171, allocations: 30.22 kB / 0.5112 GB, free: 92.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.125e-05/0.7172, allocations: 54.91 kB / 0.5112 GB, free: 92.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007246/0.7179, allocations: 0.5173 MB / 0.5118 GB, free: 92.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.7179, allocations: 3.844 kB / 0.5118 GB, free: 92.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.718, allocations: 26.78 kB / 0.5118 GB, free: 92.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.718, allocations: 17.44 kB / 0.5118 GB, free: 92.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007308/0.7187, allocations: 492.2 kB / 0.5123 GB, free: 92.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.7209, allocations: 2.101 MB / 0.5143 GB, free: 91.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/0.7217, allocations: 0.72 MB / 0.515 GB, free: 90.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/0.7222, allocations: 0.5255 MB / 0.5155 GB, free: 90.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005841/0.7281, allocations: 7.674 MB / 0.523 GB, free: 83.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004307/0.7285, allocations: 296.2 kB / 0.5233 GB, free: 83.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 2.655e-06/0.7285, allocations: 0 / 0.5233 GB, free: 83.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.002696/0.7313, allocations: 2.01 MB / 0.5253 GB, free: 82.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.7313, allocations: 63.2 kB / 0.5253 GB, free: 82.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.7324, allocations: 1.281 MB / 0.5266 GB, free: 82.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.7324, allocations: 37.11 kB / 0.5266 GB, free: 82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.7328, allocations: 0.7141 MB / 0.5273 GB, free: 81.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.026e-05/0.7329, allocations: 203.9 kB / 0.5275 GB, free: 81.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.7329, allocations: 15.53 kB / 0.5275 GB, free: 81.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.733, allocations: 336.4 kB / 0.5279 GB, free: 80.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.7333, allocations: 204 kB / 0.528 GB, free: 80.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.7337, allocations: 372.1 kB / 0.5284 GB, free: 80.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.7355, allocations: 1.167 MB / 0.5295 GB, free: 80.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7355, allocations: 3.969 kB / 0.5295 GB, free: 80.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001185/0.7367, allocations: 0.9171 MB / 0.5304 GB, free: 79.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7367, allocations: 14.69 kB / 0.5305 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.481e-05/0.7368, allocations: 55.59 kB / 0.5305 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/0.7371, allocations: 153.4 kB / 0.5307 GB, free: 79.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.7375, allocations: 123.3 kB / 0.5308 GB, free: 79.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.7394, allocations: 2.304 MB / 0.533 GB, free: 77.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.7398, allocations: 33.95 kB / 0.5331 GB, free: 77.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.7399, allocations: 36.78 kB / 0.5331 GB, free: 77.73 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T2.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,75.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003715/0.7403, allocations: 276.9 kB / 0.5334 GB, free: 77.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.7404, allocations: 175.5 kB / 0.5335 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.7419, allocations: 0.9176 MB / 0.5344 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.742, allocations: 7.938 kB / 0.5344 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.742, allocations: 4 kB / 0.5344 GB, free: 76.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.742, allocations: 0 / 0.5344 GB, free: 76.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006955/0.7427, allocations: 0.8686 MB / 0.5353 GB, free: 76.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-05/0.7427, allocations: 48 kB / 0.5353 GB, free: 76.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.743, allocations: 73.64 kB / 0.5354 GB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002831/0.7433, allocations: 146.5 kB / 0.5355 GB, free: 75.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.7433, allocations: 25.22 kB / 0.5356 GB, free: 75.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.7451, allocations: 2.27 MB / 0.5378 GB, free: 73.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7451, allocations: 0 / 0.5378 GB, free: 73.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.7466, allocations: 1.099 MB / 0.5388 GB, free: 72.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.7468, allocations: 249.6 kB / 0.5391 GB, free: 72.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.7469, allocations: 8 kB / 0.5391 GB, free: 72.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.7472, allocations: 30.88 kB / 0.5391 GB, free: 72.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/0.7473, allocations: 46.11 kB / 0.5392 GB, free: 72.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.7474, allocations: 35.45 kB / 0.5392 GB, free: 72.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007394/0.7481, allocations: 0.84 MB / 0.54 GB, free: 71.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7481, allocations: 0 / 0.54 GB, free: 71.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008177/0.7489, allocations: 426.8 kB / 0.5404 GB, free: 71.12 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.0006354/0.7496, allocations: 0.5288 MB / 0.5409 GB, free: 70.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.7508, allocations: 0.8639 MB / 0.5418 GB, free: 69.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7508, allocations: 0 / 0.5418 GB, free: 69.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007651/0.7516, allocations: 0.6174 MB / 0.5424 GB, free: 69.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.7522, allocations: 158.3 kB / 0.5425 GB, free: 68.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.7547, allocations: 2.795 MB / 0.5453 GB, free: 66.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.7552, allocations: 1.169 MB / 0.5464 GB, free: 64.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.7553, allocations: 71.44 kB / 0.5465 GB, free: 64.88 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7553, allocations: 0 / 0.5465 GB, free: 64.88 MB / 378.7 MB Notification: Performance of Templates: time 0.2017/0.957, allocations: 23.41 MB / 0.5693 GB, free: 41.46 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches