Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.395/1.395, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008794/0.0008796, allocations: 78.64 kB / 267.9 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.287e-05, allocations: 8 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09036/0.09041, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3044/0.3948, allocations: 82.77 MB / 452.8 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.3951, allocations: 75.89 kB / 452.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04187/0.437, allocations: 18.02 MB / 470.9 MB, free: 9.832 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.437, allocations: 0 / 470.9 MB, free: 9.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.4371, allocations: 8 kB / 470.9 MB, free: 9.824 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001795/0.4389, allocations: 0.8427 MB / 471.8 MB, free: 8.934 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4389, allocations: 12.03 kB / 471.8 MB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002771/0.4417, allocations: 446.8 kB / 472.2 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.4422, allocations: 364.1 kB / 472.6 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.4422, allocations: 54 kB / 472.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.4424, allocations: 64 kB / 472.7 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.4436, allocations: 0.7862 MB / 473.5 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.4436, allocations: 0 / 473.5 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.255e-05/0.4437, allocations: 27.98 kB / 473.5 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.4438, allocations: 20 kB / 473.5 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.445, allocations: 0.8122 MB / 474.3 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004289/0.4493, allocations: 2.786 MB / 477.1 MB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.4511, allocations: 1.961 MB / 479.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.4515, allocations: 255 kB / 479.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.4516, allocations: 97.52 kB / 479.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.4516, allocations: 42.94 kB / 479.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 1.794e-06/0.4517, allocations: 0 / 479.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.0009224/0.4526, allocations: 0.5199 MB / 480 MB, free: 116 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.4527, allocations: 81.55 kB / 480 MB, free: 12 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.4529, allocations: 271.3 kB / 480.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.453, allocations: 33.7 kB / 480.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.4532, allocations: 291.6 kB / 480.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.4533, allocations: 177.5 kB / 480.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.4533, allocations: 12 kB / 480.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4535, allocations: 346.8 kB / 481.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.4538, allocations: 201.5 kB / 481.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.4542, allocations: 404.6 kB / 481.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.4546, allocations: 244.2 kB / 482 MB, free: 13.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.4546, allocations: 4 kB / 482 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001077/0.4557, allocations: 0.7048 MB / 482.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009351/0.4566, allocations: 2.445 MB / 485.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.4566, allocations: 4 kB / 485.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/0.4569, allocations: 60.84 kB / 485.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.4574, allocations: 143.8 kB / 485.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.4589, allocations: 1.6 MB / 486.9 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.4594, allocations: 79.27 kB / 487 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.4594, allocations: 43.98 kB / 487.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.4594, allocations: 4 kB / 487.1 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001028/0.4605, allocations: 0.6447 MB / 487.7 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.4605, allocations: 4 kB / 487.7 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.4607, allocations: 56.83 kB / 487.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.4611, allocations: 136.2 kB / 487.9 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.4623, allocations: 1.516 MB / 489.4 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.4627, allocations: 63.42 kB / 489.5 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.4628, allocations: 35.98 kB / 489.5 MB, free: 5.945 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.4629, allocations: 140.8 kB / 489.7 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/0.463, allocations: 31.62 kB / 489.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.4641, allocations: 0.624 MB / 490.3 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4641, allocations: 4 kB / 490.3 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4641, allocations: 7.953 kB / 490.3 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4641, allocations: 0 / 490.3 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.4659, allocations: 1.327 MB / 491.6 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4659, allocations: 0 / 491.6 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/0.4664, allocations: 99.88 kB / 491.7 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001669/0.4665, allocations: 56.77 kB / 491.8 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.4666, allocations: 15.98 kB / 491.8 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.4679, allocations: 1.585 MB / 493.4 MB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4679, allocations: 0 / 493.4 MB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.4692, allocations: 0.9418 MB / 494.3 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.4694, allocations: 160.5 kB / 494.5 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.4694, allocations: 8 kB / 494.5 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.4697, allocations: 31.98 kB / 494.5 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/0.4699, allocations: 40.44 kB / 494.6 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.4699, allocations: 19.98 kB / 494.6 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001986/0.4701, allocations: 203.1 kB / 494.8 MB, free: 420 kB / 362.7 MB Notification: Performance of sort global known variables: time 2.044e-06/0.4701, allocations: 0 / 494.8 MB, free: 420 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001029/0.4712, allocations: 295.1 kB / 495.1 MB, free: 124 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002762/0.4714, allocations: 148 kB / 495.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.4731, allocations: 1.129 MB / 496.4 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.4731, allocations: 8.188 kB / 496.4 MB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004995/0.4736, allocations: 393.1 kB / 496.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.474, allocations: 41.91 kB / 496.8 MB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.4776, allocations: 1.274 MB / 498.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.4783, allocations: 0.8575 MB / 498.9 MB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001658/0.48, allocations: 1.101 MB / 0.4883 GB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.4801, allocations: 47.41 kB / 0.4883 GB, free: 11.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4802, allocations: 4 kB / 0.4884 GB, free: 11.04 MB / 378.7 MB Notification: Performance of Templates: time 0.01138/0.4915, allocations: 6.014 MB / 0.4942 GB, free: 5.02 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches