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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 110.5 kB / 17.73 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 187 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 51.94 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.108, allocations: 46.62 MB / 375.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.00615/0.1142, allocations: 4.097 MB / 379.2 MB, free: 460 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2132/0.3274, allocations: 1.637 MB / 380.9 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.3278, allocations: 14.88 kB / 380.9 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.3296, allocations: 0.7738 MB / 381.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.3309, allocations: 0.5785 MB / 382.2 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.332, allocations: 0.539 MB / 382.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008404/0.3329, allocations: 0.5977 MB / 383.4 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007713/0.3337, allocations: 0.5032 MB / 383.9 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.334, allocations: 265.3 kB / 384.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004895/0.3345, allocations: 330.9 kB / 384.5 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.3347, allocations: 54.75 kB / 384.5 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008107/0.3355, allocations: 243.4 kB / 384.8 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.3356, allocations: 136.9 kB / 384.9 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.336, allocations: 297 kB / 385.2 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.3377, allocations: 0.8503 MB / 386 MB, free: 8.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3377, allocations: 0.7031 kB / 386 MB, free: 8.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3377, allocations: 7.938 kB / 386 MB, free: 8.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3377, allocations: 0 / 386 MB, free: 8.324 MB / 318.1 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.002343/0.3401, allocations: 1.018 MB / 387.1 MB, free: 7.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3401, allocations: 9.656 kB / 387.1 MB, free: 7.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004418/0.3445, allocations: 0.6089 MB / 387.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008243/0.3454, allocations: 381.2 kB / 388 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.3455, allocations: 53.66 kB / 388.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.3456, allocations: 68.98 kB / 388.2 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.347, allocations: 0.7415 MB / 388.9 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.3471, allocations: 5.781 kB / 388.9 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-05/0.3471, allocations: 29.38 kB / 388.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.3472, allocations: 16.38 kB / 389 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.3486, allocations: 0.7185 MB / 389.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003375/0.352, allocations: 2.532 MB / 392.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.3537, allocations: 1.951 MB / 394.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.3541, allocations: 213.3 kB / 394.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.64e-05/0.3542, allocations: 95.14 kB / 394.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.3542, allocations: 34.5 kB / 394.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.174e-06/0.3542, allocations: 0 / 394.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001688/0.3559, allocations: 0.7139 MB / 395.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.3559, allocations: 65.69 kB / 395.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.3563, allocations: 312.9 kB / 395.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.3563, allocations: 35.02 kB / 395.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.3565, allocations: 297 kB / 395.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3566, allocations: 172.7 kB / 396.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.3567, allocations: 104.5 kB / 396.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.3568, allocations: 350.8 kB / 396.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.3572, allocations: 169.4 kB / 396.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.3577, allocations: 346.6 kB / 397 MB, free: 1.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008005/0.3585, allocations: 0.5499 MB / 397.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3585, allocations: 3.531 kB / 397.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001153/0.3596, allocations: 0.6175 MB / 398.2 MB, free: 348 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3597, allocations: 11.8 kB / 398.2 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3597, allocations: 6.469 kB / 398.2 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000273/0.36, allocations: 62.52 kB / 398.3 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.3605, allocations: 129.2 kB / 398.4 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.3621, allocations: 1.769 MB / 400.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.3625, allocations: 76.95 kB / 400.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.3625, allocations: 32.2 kB / 400.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004738/0.363, allocations: 291.9 kB / 400.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004703/0.3635, allocations: 341.5 kB / 400.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008261/0.3643, allocations: 0.5296 MB / 401.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.088e-06/0.3644, allocations: 2.75 kB / 401.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001152/0.3655, allocations: 0.6186 MB / 402 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3655, allocations: 8.703 kB / 402 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3656, allocations: 5.312 kB / 402.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.3657, allocations: 60.38 kB / 402.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.3662, allocations: 127.6 kB / 402.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.3677, allocations: 1.775 MB / 404 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.3681, allocations: 54.67 kB / 404.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.3682, allocations: 27.52 kB / 404.1 MB, free: 11.71 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.3684, allocations: 226.5 kB / 404.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.3684, allocations: 41.45 kB / 404.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.3697, allocations: 0.5202 MB / 404.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3697, allocations: 5.922 kB / 404.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3697, allocations: 1.25 kB / 404.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.3697, allocations: 10 kB / 404.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.3715, allocations: 1.162 MB / 406.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3716, allocations: 2.484 kB / 406.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/0.3719, allocations: 80.62 kB / 406.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000167/0.3721, allocations: 50.16 kB / 406.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.3722, allocations: 9.938 kB / 406.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.3736, allocations: 1.757 MB / 407.9 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3736, allocations: 0.8906 kB / 407.9 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.375, allocations: 0.7774 MB / 408.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.3752, allocations: 155 kB / 408.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.15e-05/0.3753, allocations: 9.5 kB / 408.9 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.3756, allocations: 31.73 kB / 408.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.3756, allocations: 31.47 kB / 408.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.3757, allocations: 10.78 kB / 409 MB, free: 8.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002383/0.3759, allocations: 218.6 kB / 409.2 MB, free: 8.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3759, allocations: 0 / 409.2 MB, free: 8.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001082/0.377, allocations: 276.2 kB / 409.4 MB, free: 8.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002618/0.3773, allocations: 131.7 kB / 409.6 MB, free: 7.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.3793, allocations: 0.9839 MB / 410.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3793, allocations: 1.5 kB / 410.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006037/0.3799, allocations: 360.2 kB / 410.9 MB, free: 7.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.3804, allocations: 52.66 kB / 411 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.3821, allocations: 0.9805 MB / 411.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.3825, allocations: 0.8462 MB / 412.8 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003578/0.3829, allocations: 92.45 kB / 412.9 MB, free: 5.805 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.383, allocations: 38.98 kB / 412.9 MB, free: 5.793 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.383, allocations: 0.875 kB / 412.9 MB, free: 5.793 MB / 334.1 MB Notification: Performance of Templates: time 0.0104/0.3934, allocations: 5.195 MB / 418.1 MB, free: 2.766 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches