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.001445/0.001445, allocations: 186 kB / 16.41 MB, free: 5.723 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.859/1.859, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001095/0.001094, allocations: 97.22 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.000397, allocations: 12 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3239, allocations: 47.56 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.4671, allocations: 90.37 MB / 464.9 MB, free: 6.379 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.4674, allocations: 75.95 kB / 465 MB, free: 6.305 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4367/0.9042, allocations: 54.6 MB / 0.5074 GB, free: 94.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.9042, allocations: 0 / 0.5074 GB, free: 94.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.377e-05/0.9043, allocations: 23.59 kB / 0.5074 GB, free: 94.62 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.003725/0.9081, allocations: 1.855 MB / 0.5092 GB, free: 93.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.9081, allocations: 13.72 kB / 0.5092 GB, free: 93.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.9084, allocations: 194.1 kB / 0.5094 GB, free: 93.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.9106, allocations: 1.151 MB / 0.5106 GB, free: 93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.9107, allocations: 30.88 kB / 0.5106 GB, free: 93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.9108, allocations: 44.12 kB / 0.5106 GB, free: 93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.9122, allocations: 0.5162 MB / 0.5111 GB, free: 92.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.9122, allocations: 0 / 0.5111 GB, free: 92.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.915e-05/0.9123, allocations: 15.84 kB / 0.5111 GB, free: 92.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.9123, allocations: 19.52 kB / 0.5112 GB, free: 92.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.9137, allocations: 491.8 kB / 0.5116 GB, free: 92.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004223/0.918, allocations: 2.121 MB / 0.5137 GB, free: 91.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.9195, allocations: 0.7306 MB / 0.5144 GB, free: 91.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01173/0.9313, allocations: 7.682 MB / 0.5219 GB, free: 84.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008106/0.9321, allocations: 308.9 kB / 0.5222 GB, free: 83.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 4.779e-06/0.9322, allocations: 0 / 0.5222 GB, free: 83.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.005426/0.9376, allocations: 2.173 MB / 0.5243 GB, free: 82.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.9377, allocations: 59.92 kB / 0.5244 GB, free: 82.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.9396, allocations: 1.083 MB / 0.5254 GB, free: 82.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.9398, allocations: 33.55 kB / 0.5255 GB, free: 82.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000542/0.9403, allocations: 0.6343 MB / 0.5261 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.9405, allocations: 202.3 kB / 0.5263 GB, free: 81.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.9406, allocations: 9.906 kB / 0.5263 GB, free: 81.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.9407, allocations: 343.4 kB / 0.5266 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006563/0.9414, allocations: 207.9 kB / 0.5268 GB, free: 81.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007158/0.9421, allocations: 368.9 kB / 0.5272 GB, free: 80.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007282/0.9428, allocations: 252.4 kB / 0.5274 GB, free: 80.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.9429, allocations: 1.906 kB / 0.5274 GB, free: 80.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0021/0.945, allocations: 0.7813 MB / 0.5282 GB, free: 80.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.945, allocations: 13.44 kB / 0.5282 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/0.9451, allocations: 58.95 kB / 0.5283 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.9458, allocations: 154.5 kB / 0.5284 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/0.9466, allocations: 120.5 kB / 0.5285 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/0.9501, allocations: 2.328 MB / 0.5308 GB, free: 78.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.9512, allocations: 32.72 kB / 0.5308 GB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.9514, allocations: 31.97 kB / 0.5308 GB, free: 78.46 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.0007695/0.9522, allocations: 278.8 kB / 0.5311 GB, free: 78.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.9525, allocations: 185.3 kB / 0.5313 GB, free: 78.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00302/0.9555, allocations: 0.9178 MB / 0.5322 GB, free: 77.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.9556, allocations: 3.969 kB / 0.5322 GB, free: 77.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9556, allocations: 2 kB / 0.5322 GB, free: 77.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.9556, allocations: 3.656 kB / 0.5322 GB, free: 77.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.9573, allocations: 0.8609 MB / 0.533 GB, free: 77.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001118/0.9574, allocations: 62.22 kB / 0.5331 GB, free: 77.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.958, allocations: 70.06 kB / 0.5332 GB, free: 77.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005673/0.9586, allocations: 149.1 kB / 0.5333 GB, free: 77.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.505e-05/0.9586, allocations: 23 kB / 0.5333 GB, free: 77.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.962, allocations: 2.302 MB / 0.5356 GB, free: 74.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9621, allocations: 0 / 0.5356 GB, free: 74.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/0.965, allocations: 1.096 MB / 0.5366 GB, free: 73.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005862/0.9656, allocations: 249.6 kB / 0.5369 GB, free: 73.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.9659, allocations: 12 kB / 0.5369 GB, free: 73.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006506/0.9665, allocations: 19.84 kB / 0.5369 GB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.9667, allocations: 50.58 kB / 0.537 GB, free: 73.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/0.9668, allocations: 20 kB / 0.537 GB, free: 73.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001462/0.9683, allocations: 0.8495 MB / 0.5378 GB, free: 72.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.9683, allocations: 0 / 0.5378 GB, free: 72.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001553/0.9699, allocations: 431 kB / 0.5382 GB, free: 72.38 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.001089/0.971, allocations: 0.5357 MB / 0.5387 GB, free: 71.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.9733, allocations: 0.8694 MB / 0.5396 GB, free: 71.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.9733, allocations: 0 / 0.5396 GB, free: 71.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.9748, allocations: 0.6059 MB / 0.5402 GB, free: 70.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.9758, allocations: 157.7 kB / 0.5403 GB, free: 70.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.9809, allocations: 2.793 MB / 0.5431 GB, free: 67.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.9815, allocations: 1.204 MB / 0.5442 GB, free: 66.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.9818, allocations: 71.44 kB / 0.5443 GB, free: 66.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.9818, allocations: 0 / 0.5443 GB, free: 66.24 MB / 378.7 MB Notification: Performance of Templates: time 0.03842/1.02, allocations: 22.52 MB / 0.5663 GB, free: 43.71 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