Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001308/0.001308, allocations: 181 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.558/1.558, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.000992/0.0009921, allocations: 93.41 kB / 271.5 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002784, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2793, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.4002, allocations: 81.39 MB / 457.2 MB, free: 15.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.4005, allocations: 79.95 kB / 457.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04142/0.442, allocations: 16.2 MB / 473.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.442, allocations: 0 / 473.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.405e-05/0.4421, allocations: 8 kB / 473.5 MB, free: 14.82 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001845/0.4439, allocations: 0.7761 MB / 474.3 MB, free: 14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.444, allocations: 8.031 kB / 474.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/0.4468, allocations: 431 kB / 474.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/0.4473, allocations: 326.2 kB / 475 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.4474, allocations: 41.31 kB / 475.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.4475, allocations: 63.95 kB / 475.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.4486, allocations: 0.5531 MB / 475.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.4486, allocations: 0 / 475.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.367e-05/0.4487, allocations: 20 kB / 475.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.4487, allocations: 16 kB / 475.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.4499, allocations: 0.6453 MB / 476.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.4532, allocations: 2.051 MB / 478.4 MB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.4561, allocations: 3.027 MB / 481.4 MB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.63e-05/0.4562, allocations: 89.53 kB / 481.5 MB, free: 5.988 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.4562, allocations: 35 kB / 481.5 MB, free: 5.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 3.156e-06/0.4562, allocations: 0 / 481.5 MB, free: 5.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.002372/0.4586, allocations: 0.8132 MB / 482.4 MB, free: 5.102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.4587, allocations: 55.84 kB / 482.4 MB, free: 5.035 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.4589, allocations: 179.6 kB / 482.6 MB, free: 4.855 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.459, allocations: 37.64 kB / 482.6 MB, free: 4.812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.4592, allocations: 244 kB / 482.9 MB, free: 4.566 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.4594, allocations: 157.7 kB / 483 MB, free: 4.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.4594, allocations: 16 kB / 483 MB, free: 4.395 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4596, allocations: 338.8 kB / 483.4 MB, free: 4.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.4599, allocations: 161 kB / 483.5 MB, free: 3.898 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.4604, allocations: 274 kB / 483.8 MB, free: 3.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.4608, allocations: 200.7 kB / 484 MB, free: 3.391 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4608, allocations: 0 / 484 MB, free: 3.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001164/0.4619, allocations: 0.5981 MB / 484.6 MB, free: 2.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.462, allocations: 4 kB / 484.6 MB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.462, allocations: 4 kB / 484.6 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003721/0.4624, allocations: 88.8 kB / 484.7 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.4628, allocations: 111.8 kB / 484.8 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.4651, allocations: 1.877 MB / 486.7 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.4655, allocations: 51.48 kB / 486.7 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.4656, allocations: 23.98 kB / 486.7 MB, free: 0.4922 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003398/0.4659, allocations: 177.8 kB / 486.9 MB, free: 316 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.466, allocations: 27.62 kB / 486.9 MB, free: 288 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.4672, allocations: 0.5629 MB / 487.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4672, allocations: 8 kB / 487.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4673, allocations: 0 / 487.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4673, allocations: 0 / 487.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.4692, allocations: 1.145 MB / 488.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4692, allocations: 0 / 488.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/0.4696, allocations: 83.84 kB / 488.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003441/0.4699, allocations: 92.73 kB / 488.8 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.47, allocations: 11.94 kB / 488.8 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00275/0.4727, allocations: 1.87 MB / 490.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4728, allocations: 4.062 kB / 490.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.4744, allocations: 0.8154 MB / 491.5 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.4745, allocations: 112.6 kB / 491.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.4746, allocations: 12 kB / 491.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.4748, allocations: 19.98 kB / 491.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.475, allocations: 40.44 kB / 491.7 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.475, allocations: 12 kB / 491.7 MB, free: 11.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001518/0.4752, allocations: 152.1 kB / 491.9 MB, free: 11.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4752, allocations: 0 / 491.9 MB, free: 11.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007588/0.4759, allocations: 159.5 kB / 492 MB, free: 10.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003516/0.4763, allocations: 147.2 kB / 492.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.4775, allocations: 0.5971 MB / 492.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4775, allocations: 0 / 492.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005935/0.4781, allocations: 393.8 kB / 493.2 MB, free: 9.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.4784, allocations: 24.14 kB / 493.2 MB, free: 9.762 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.4825, allocations: 1.579 MB / 494.8 MB, free: 8.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.4831, allocations: 0.8253 MB / 495.6 MB, free: 7.309 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000259/0.4833, allocations: 51.27 kB / 495.6 MB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.4834, allocations: 31.42 kB / 495.7 MB, free: 7.223 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.4835, allocations: 0 / 495.7 MB, free: 7.223 MB / 378.7 MB Notification: Performance of Templates: time 0.009241/0.4927, allocations: 3.91 MB / 499.6 MB, free: 3.324 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches