Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 107.7 kB / 17.06 MB, free: 5.996 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.001835/0.001835, allocations: 197.3 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 43.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2743, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005529/0.2798, allocations: 3.956 MB / 404.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.2827, allocations: 1.565 MB / 405.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.283, allocations: 16 kB / 405.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.2848, allocations: 0.7763 MB / 406.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.2859, allocations: 0.5207 MB / 407.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.287, allocations: 0.5393 MB / 407.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007006/0.2877, allocations: 0.5272 MB / 408.1 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007673/0.2885, allocations: 0.4951 MB / 408.6 MB, free: 404 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.2889, allocations: 239.1 kB / 408.9 MB, free: 164 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003723/0.2892, allocations: 294.8 kB / 409.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.224e-05/0.2893, allocations: 52 kB / 409.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.2899, allocations: 243.8 kB / 409.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.29, allocations: 123.5 kB / 409.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.2903, allocations: 266.7 kB / 409.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.2914, allocations: 0.7978 MB / 410.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2914, allocations: 0 / 410.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2914, allocations: 0 / 410.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.2914, allocations: 0 / 410.6 MB, free: 14.4 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002182/0.2936, allocations: 0.9665 MB / 411.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.2936, allocations: 15.89 kB / 411.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/0.2938, allocations: 108 kB / 411.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00277/0.2966, allocations: 408.2 kB / 412.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/0.2973, allocations: 367.2 kB / 412.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.2973, allocations: 49.44 kB / 412.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.904e-05/0.2974, allocations: 63.95 kB / 412.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.2987, allocations: 0.6354 MB / 413.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.2987, allocations: 4 kB / 413.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/0.2988, allocations: 27.94 kB / 413.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.2988, allocations: 20 kB / 413.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.3, allocations: 0.5751 MB / 413.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/0.3032, allocations: 2.177 MB / 416 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.3048, allocations: 1.176 MB / 417.2 MB, free: 7.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/0.3052, allocations: 204.7 kB / 417.4 MB, free: 7.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.3053, allocations: 93.39 kB / 417.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3054, allocations: 34.56 kB / 417.5 MB, free: 7.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.833e-06/0.3054, allocations: 0 / 417.5 MB, free: 7.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001697/0.3071, allocations: 0.6825 MB / 418.2 MB, free: 6.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3071, allocations: 59.41 kB / 418.3 MB, free: 6.262 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.3074, allocations: 270.6 kB / 418.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.3075, allocations: 41.64 kB / 418.6 MB, free: 5.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3076, allocations: 256.9 kB / 418.8 MB, free: 5.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.3078, allocations: 154.6 kB / 419 MB, free: 5.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.3079, allocations: 86.19 kB / 419.1 MB, free: 5.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3081, allocations: 342.8 kB / 419.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.3085, allocations: 159 kB / 419.5 MB, free: 4.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.3089, allocations: 253.9 kB / 419.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007955/0.3097, allocations: 433.7 kB / 420.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3097, allocations: 4 kB / 420.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001079/0.3108, allocations: 0.522 MB / 420.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3108, allocations: 8 kB / 420.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3108, allocations: 4 kB / 420.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002564/0.3111, allocations: 60.7 kB / 420.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.3115, allocations: 99.88 kB / 420.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.3133, allocations: 1.771 MB / 422.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.3136, allocations: 55.61 kB / 422.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.3136, allocations: 23.98 kB / 422.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004354/0.3141, allocations: 265.2 kB / 423 MB, free: 1.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004357/0.3145, allocations: 249.6 kB / 423.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007273/0.3153, allocations: 423.9 kB / 423.7 MB, free: 500 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.3153, allocations: 0 / 423.7 MB, free: 500 kB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001008/0.3163, allocations: 0.5129 MB / 424.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3163, allocations: 8 kB / 424.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3163, allocations: 7.938 kB / 424.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.3165, allocations: 52.83 kB / 424.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.3169, allocations: 100.1 kB / 424.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.3186, allocations: 1.763 MB / 426.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.3189, allocations: 47.72 kB / 426.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.3189, allocations: 16.12 kB / 426.2 MB, free: 13.83 MB / 350.1 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 (53): * Single equations (assignments): 52 * 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.0001667/0.3191, allocations: 204.2 kB / 426.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.3192, allocations: 35.75 kB / 426.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.3203, allocations: 0.5162 MB / 426.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3203, allocations: 4 kB / 426.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3203, allocations: 3.938 kB / 426.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3203, allocations: 7.875 kB / 426.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.322, allocations: 1.077 MB / 428 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3221, allocations: 4 kB / 428 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.3224, allocations: 79.89 kB / 428.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001648/0.3226, allocations: 52.81 kB / 428.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.3227, allocations: 8 kB / 428.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.3242, allocations: 1.759 MB / 429.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3242, allocations: 4.062 kB / 429.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.3256, allocations: 0.7542 MB / 430.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.3258, allocations: 152.7 kB / 430.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.3258, allocations: 8.062 kB / 430.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.3261, allocations: 23.98 kB / 430.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/0.3262, allocations: 36.42 kB / 430.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.3262, allocations: 11.98 kB / 430.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.3264, allocations: 194 kB / 431.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3264, allocations: 0 / 431.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008492/0.3273, allocations: 239.4 kB / 431.3 MB, free: 8.422 MB / 350.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 (42): * Single equations (assignments): 41 * 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.001824/0.3291, allocations: 1.321 MB / 432.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.3308, allocations: 0.8885 MB / 433.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3308, allocations: 4.125 kB / 433.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005665/0.3314, allocations: 341.1 kB / 433.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.3318, allocations: 48.47 kB / 433.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/0.3375, allocations: 3.797 MB / 437.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.3381, allocations: 0.8288 MB / 438.5 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002894/0.3383, allocations: 71.23 kB / 438.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.3386, allocations: 171.3 kB / 438.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3386, allocations: 0 / 438.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03774/0.3764, allocations: 8.728 MB / 447.5 MB, free: 8.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.48, allocations: 7.469 kB / 447.5 MB, free: 8.133 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches