Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.000946/0.0009461, allocations: 176.3 kB / 16.41 MB, free: 5.707 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.231/1.231, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007006/0.0007006, allocations: 100.8 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003515, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2519, allocations: 47.58 MB / 374.6 MB, free: 45.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.00334/0.2553, allocations: 3.482 MB / 378 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.2574, allocations: 1.502 MB / 379.5 MB, free: 41.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.2576, allocations: 11.28 kB / 379.6 MB, free: 41.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.258, allocations: 140.5 kB / 379.7 MB, free: 41.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008682/0.2589, allocations: 479.7 kB / 380.2 MB, free: 41.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.2596, allocations: 430.8 kB / 380.6 MB, free: 40.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004612/0.2601, allocations: 0.5319 MB / 381.1 MB, free: 40.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.2611, allocations: 0.7224 MB / 381.8 MB, free: 39.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.2613, allocations: 209.7 kB / 382 MB, free: 39.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.2616, allocations: 272.8 kB / 382.3 MB, free: 39.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.386e-05/0.2616, allocations: 23.91 kB / 382.3 MB, free: 39.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.262, allocations: 207.7 kB / 382.5 MB, free: 39.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.2621, allocations: 98.62 kB / 382.6 MB, free: 39.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.304e-05/0.2621, allocations: 119.5 kB / 382.7 MB, free: 39.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.2626, allocations: 0.6282 MB / 383.4 MB, free: 38.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2626, allocations: 0 / 383.4 MB, free: 38.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2626, allocations: 5.469 kB / 383.4 MB, free: 38.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.2626, allocations: 0 / 383.4 MB, free: 38.84 MB / 298.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.001838/0.2645, allocations: 0.9295 MB / 384.3 MB, free: 38.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.2645, allocations: 9.469 kB / 384.3 MB, free: 38.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003986/0.2685, allocations: 0.6087 MB / 384.9 MB, free: 37.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.2689, allocations: 377.1 kB / 385.3 MB, free: 37.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.269, allocations: 52.98 kB / 385.3 MB, free: 37.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.756e-05/0.2691, allocations: 71.38 kB / 385.4 MB, free: 37.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.2703, allocations: 0.8015 MB / 386.2 MB, free: 36.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.2704, allocations: 1.438 kB / 386.2 MB, free: 36.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.2704, allocations: 29.75 kB / 386.3 MB, free: 36.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.2705, allocations: 31.17 kB / 386.3 MB, free: 36.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.2717, allocations: 0.8403 MB / 387.1 MB, free: 36.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.2746, allocations: 2.728 MB / 389.8 MB, free: 33.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.2759, allocations: 1.968 MB / 391.8 MB, free: 30.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.2763, allocations: 254.1 kB / 392.1 MB, free: 30.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.333e-05/0.2764, allocations: 89.53 kB / 392.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.2764, allocations: 39 kB / 392.2 MB, free: 30.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.813e-06/0.2764, allocations: 0 / 392.2 MB, free: 30.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001647/0.2781, allocations: 0.8441 MB / 393 MB, free: 29.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.2781, allocations: 55.84 kB / 393.1 MB, free: 29.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.2784, allocations: 308.4 kB / 393.4 MB, free: 29.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.2784, allocations: 37.7 kB / 393.4 MB, free: 29.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.2785, allocations: 292 kB / 393.7 MB, free: 28.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/0.2786, allocations: 169.6 kB / 393.9 MB, free: 28.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.2787, allocations: 8 kB / 393.9 MB, free: 28.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.342e-05/0.2787, allocations: 350.8 kB / 394.2 MB, free: 28.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.2791, allocations: 213.2 kB / 394.4 MB, free: 28.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.2795, allocations: 386.3 kB / 394.8 MB, free: 27.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.28, allocations: 255.6 kB / 395.1 MB, free: 27.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.28, allocations: 4 kB / 395.1 MB, free: 27.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0011/0.2811, allocations: 0.7046 MB / 395.8 MB, free: 26.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.038e-05/0.2812, allocations: 271.3 kB / 396 MB, free: 26.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2812, allocations: 11.98 kB / 396 MB, free: 26.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.2814, allocations: 60.83 kB / 396.1 MB, free: 26.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.2819, allocations: 139.8 kB / 396.2 MB, free: 26.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.283, allocations: 1.577 MB / 397.8 MB, free: 24.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/0.2833, allocations: 87.25 kB / 397.9 MB, free: 24.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.2834, allocations: 35.97 kB / 397.9 MB, free: 24.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.701e-06/0.2834, allocations: 7.953 kB / 397.9 MB, free: 24.39 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00097/0.2844, allocations: 0.6525 MB / 398.6 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2844, allocations: 4 kB / 398.6 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.2845, allocations: 60.77 kB / 398.7 MB, free: 23.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/0.285, allocations: 135.9 kB / 398.8 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008894/0.2859, allocations: 1.508 MB / 400.3 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.2862, allocations: 75.38 kB / 400.4 MB, free: 21.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.2862, allocations: 28 kB / 400.4 MB, free: 21.79 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (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.0001987/0.2864, allocations: 264.9 kB / 400.7 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.2865, allocations: 39.62 kB / 400.7 MB, free: 21.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.2876, allocations: 0.6218 MB / 401.3 MB, free: 20.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2876, allocations: 4 kB / 401.3 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2876, allocations: 4 kB / 401.3 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2877, allocations: 3.984 kB / 401.3 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.2892, allocations: 1.297 MB / 402.6 MB, free: 19.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2892, allocations: 0 / 402.6 MB, free: 19.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.2896, allocations: 91.89 kB / 402.7 MB, free: 19.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001708/0.2898, allocations: 56.81 kB / 402.8 MB, free: 19.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.2898, allocations: 12.19 kB / 402.8 MB, free: 19.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000907/0.2907, allocations: 1.58 MB / 404.4 MB, free: 17.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2908, allocations: 48 / 404.4 MB, free: 17.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.2921, allocations: 0.9326 MB / 405.3 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.2922, allocations: 160.5 kB / 405.5 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.2923, allocations: 8 kB / 405.5 MB, free: 16.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.2925, allocations: 27.92 kB / 405.5 MB, free: 16.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.615e-05/0.2926, allocations: 36.38 kB / 405.5 MB, free: 16.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.2927, allocations: 20 kB / 405.6 MB, free: 16.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.2928, allocations: 211.1 kB / 405.8 MB, free: 16.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2928, allocations: 0 / 405.8 MB, free: 16.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007554/0.2936, allocations: 275.1 kB / 406 MB, free: 15.92 MB / 298.7 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 (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.000215/0.2938, allocations: 131.2 kB / 406.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.2954, allocations: 1.127 MB / 407.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2954, allocations: 0 / 407.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004979/0.2959, allocations: 393 kB / 407.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.2963, allocations: 51.72 kB / 407.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2978, allocations: 1.273 MB / 409 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.2981, allocations: 0.8447 MB / 409.8 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.2982, allocations: 55.41 kB / 409.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2982, allocations: 0 / 409.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of Templates: time 0.008471/0.3067, allocations: 8.774 MB / 418.7 MB, free: 3.168 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches