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.001132/0.001132, allocations: 107.7 kB / 17.06 MB, free: 5.992 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.001031/0.001031, allocations: 198.8 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.326/1.326, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009847/0.0009847, allocations: 43.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2849, allocations: 49.45 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004938/0.2899, allocations: 3.949 MB / 404.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.2924, allocations: 1.573 MB / 405.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.2926, allocations: 12 kB / 405.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.2944, allocations: 0.7766 MB / 406.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.2956, allocations: 0.5208 MB / 407.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.2968, allocations: 0.539 MB / 407.6 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006998/0.2975, allocations: 0.5292 MB / 408.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007386/0.2982, allocations: 499 kB / 408.6 MB, free: 380 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.2985, allocations: 243.1 kB / 408.9 MB, free: 136 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.2989, allocations: 294.8 kB / 409.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.715e-05/0.299, allocations: 52 kB / 409.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.2994, allocations: 243.7 kB / 409.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-05/0.2995, allocations: 115.7 kB / 409.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.2997, allocations: 274.6 kB / 409.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008795/0.3006, allocations: 0.7978 MB / 410.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3006, allocations: 0 / 410.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3007, allocations: 4 kB / 410.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.3007, allocations: 0 / 410.6 MB, free: 14.37 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.002059/0.3027, allocations: 0.9587 MB / 411.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3028, allocations: 19.95 kB / 411.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.3029, allocations: 115.9 kB / 411.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/0.3057, allocations: 412.2 kB / 412.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006377/0.3063, allocations: 355.3 kB / 412.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.597e-05/0.3064, allocations: 45.44 kB / 412.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.3065, allocations: 71.88 kB / 412.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3076, allocations: 0.6432 MB / 413.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.3076, allocations: 0 / 413.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.567e-05/0.3077, allocations: 24 kB / 413.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.3077, allocations: 16 kB / 413.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.3088, allocations: 0.5712 MB / 413.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.3116, allocations: 2.185 MB / 416 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.3131, allocations: 1.187 MB / 417.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.3135, allocations: 192.8 kB / 417.4 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.169e-05/0.3136, allocations: 93.41 kB / 417.5 MB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3136, allocations: 34.56 kB / 417.5 MB, free: 7.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.724e-06/0.3136, allocations: 0 / 417.5 MB, free: 7.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.00161/0.3152, allocations: 0.6825 MB / 418.2 MB, free: 6.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3153, allocations: 59.41 kB / 418.3 MB, free: 6.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.3155, allocations: 282.5 kB / 418.5 MB, free: 5.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.3156, allocations: 29.7 kB / 418.6 MB, free: 5.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3158, allocations: 252.9 kB / 418.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.3159, allocations: 158.6 kB / 419 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.316, allocations: 86.25 kB / 419.1 MB, free: 5.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3162, allocations: 338.8 kB / 419.4 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.3165, allocations: 155 kB / 419.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.3169, allocations: 260 kB / 419.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/0.3177, allocations: 437.6 kB / 420.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3177, allocations: 0 / 420.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001021/0.3187, allocations: 0.522 MB / 420.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3187, allocations: 11.94 kB / 420.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3187, allocations: 4 kB / 420.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.319, allocations: 60.77 kB / 420.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.3194, allocations: 99.88 kB / 420.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.321, allocations: 1.775 MB / 422.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.3213, allocations: 55.61 kB / 422.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.3214, allocations: 20 kB / 422.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004398/0.3218, allocations: 273.2 kB / 423 MB, free: 1.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003476/0.3222, allocations: 249.6 kB / 423.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006374/0.3228, allocations: 415.9 kB / 423.7 MB, free: 468 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.3228, allocations: 3.938 kB / 423.7 MB, free: 464 kB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001011/0.3238, allocations: 0.5169 MB / 424.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3239, allocations: 8 kB / 424.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3239, allocations: 4 kB / 424.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.3241, allocations: 52.83 kB / 424.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.3245, allocations: 95.88 kB / 424.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.3259, allocations: 1.779 MB / 426.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.3262, allocations: 39.73 kB / 426.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.3263, allocations: 23.98 kB / 426.2 MB, free: 13.78 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.0001933/0.3265, allocations: 196.2 kB / 426.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.3265, allocations: 35.75 kB / 426.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.3277, allocations: 0.5083 MB / 426.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3277, allocations: 8 kB / 426.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3277, allocations: 7.938 kB / 426.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3277, allocations: 3.984 kB / 426.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.3293, allocations: 1.073 MB / 428 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3294, allocations: 3.984 kB / 428 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.3297, allocations: 83.89 kB / 428.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001794/0.3299, allocations: 48.83 kB / 428.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.33, allocations: 11.94 kB / 428.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.3314, allocations: 1.759 MB / 429.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3315, allocations: 0 / 429.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.3328, allocations: 0.7542 MB / 430.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.333, allocations: 156.7 kB / 430.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.333, allocations: 8 kB / 430.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.3333, allocations: 20.05 kB / 430.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/0.3334, allocations: 32.39 kB / 430.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3334, allocations: 12 kB / 430.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.3336, allocations: 194 kB / 431.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3336, allocations: 0 / 431.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009109/0.3345, allocations: 243.4 kB / 431.3 MB, free: 8.391 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.001781/0.3363, allocations: 1.325 MB / 432.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.338, allocations: 0.8805 MB / 433.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.338, allocations: 384 / 433.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005332/0.3386, allocations: 353.1 kB / 433.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.339, allocations: 48.42 kB / 433.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/0.3441, allocations: 3.797 MB / 437.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.3445, allocations: 0.821 MB / 438.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002994/0.3448, allocations: 79.23 kB / 438.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.345, allocations: 163.4 kB / 438.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.345, allocations: 0 / 438.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.3749, allocations: 8.726 MB / 447.5 MB, free: 8.102 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.828/10.2, allocations: 8.188 kB / 447.5 MB, free: 8.098 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