Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 107.1 kB / 20.44 MB, free: 1.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 212.7 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 47.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2533, allocations: 53.38 MB / 431.1 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003251/0.2566, allocations: 1.993 MB / 433.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.2576, allocations: 0.5433 MB / 433.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.146e-05/0.2576, allocations: 0 / 433.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.2578, allocations: 19.8 kB / 433.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.59e-05/0.2579, allocations: 43.62 kB / 433.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.2581, allocations: 71.84 kB / 433.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.2584, allocations: 211.3 kB / 434 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.2585, allocations: 33.25 kB / 434 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.2586, allocations: 83.77 kB / 434.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.2588, allocations: 91.64 kB / 434.2 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.2589, allocations: 20 kB / 434.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.2589, allocations: 20 kB / 434.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.259, allocations: 31.91 kB / 434.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.102e-05/0.259, allocations: 71.72 kB / 434.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.2593, allocations: 187.3 kB / 434.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.2593, allocations: 7.984 kB / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2593, allocations: 8 kB / 434.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.2593, allocations: 0 / 434.5 MB, free: 3.09 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007082/0.26, allocations: 403.4 kB / 434.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2601, allocations: 15.97 kB / 434.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.2601, allocations: 46.73 kB / 435 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.2602, allocations: 20.84 kB / 435 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.2605, allocations: 157 kB / 435.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.2606, allocations: 145 kB / 435.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.2607, allocations: 16.38 kB / 435.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.261, allocations: 204.3 kB / 435.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.261, allocations: 3.984 kB / 435.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.261, allocations: 4 kB / 435.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.261, allocations: 0 / 435.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.2613, allocations: 115.8 kB / 435.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/0.2622, allocations: 450.5 kB / 436.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.2625, allocations: 106.7 kB / 436.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.2627, allocations: 52.77 kB / 436.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2627, allocations: 0 / 436.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.2627, allocations: 42.5 kB / 436.3 MB, free: 1.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.2627, allocations: 4 kB / 436.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007975/0.2635, allocations: 222.3 kB / 436.5 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.2636, allocations: 51.41 kB / 436.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2637, allocations: 150.3 kB / 436.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.2637, allocations: 29.7 kB / 436.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.2638, allocations: 123.9 kB / 436.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.2639, allocations: 23.81 kB / 436.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/0.2639, allocations: 41.64 kB / 436.9 MB, free: 480 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2641, allocations: 318.8 kB / 437.2 MB, free: 152 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.2643, allocations: 85.67 kB / 437.3 MB, free: 60 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.2645, allocations: 112.2 kB / 437.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.2648, allocations: 148.1 kB / 437.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2648, allocations: 4 kB / 437.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006222/0.2655, allocations: 293.6 kB / 437.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.2655, allocations: 29.7 kB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2655, allocations: 3.984 kB / 437.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/0.2658, allocations: 80.89 kB / 437.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.2658, allocations: 15.98 kB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.2676, allocations: 1.502 MB / 439.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.2679, allocations: 48.02 kB / 439.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2679, allocations: 4 kB / 439.5 MB, free: 13.65 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (dcPowerSupply.cp,dcPowerSupply.cc,dcPowerSupply.cv) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.268, allocations: 129.7 kB / 439.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.2681, allocations: 24.3 kB / 439.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004001/0.2685, allocations: 167.1 kB / 439.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2685, allocations: 0 / 439.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.2685, allocations: 192 / 439.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2685, allocations: 0 / 439.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.2687, allocations: 180.7 kB / 440 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2687, allocations: 0 / 440 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.863e-05/0.2688, allocations: 8 kB / 440 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001709/0.269, allocations: 80.73 kB / 440.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.269, allocations: 4 kB / 440.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.2705, allocations: 1.494 MB / 441.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2705, allocations: 3.938 kB / 441.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.2709, allocations: 256.3 kB / 441.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.2709, allocations: 16.09 kB / 441.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.2709, allocations: 4 kB / 441.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.2711, allocations: 11.98 kB / 441.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.2711, allocations: 15.97 kB / 441.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.2712, allocations: 4 kB / 441.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.641e-05/0.2712, allocations: 110 kB / 442 MB, free: 10.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2712, allocations: 0 / 442 MB, free: 10.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.2715, allocations: 55.92 kB / 442.1 MB, free: 10.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007607/0.2723, allocations: 0.7834 MB / 442.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006753/0.273, allocations: 335.9 kB / 443.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.273, allocations: 0 / 443.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.2733, allocations: 170.8 kB / 443.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.2736, allocations: 27.91 kB / 443.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.2765, allocations: 2.094 MB / 445.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.2766, allocations: 93.61 kB / 445.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.461e-05/0.2766, allocations: 12.48 kB / 445.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.2767, allocations: 31.42 kB / 445.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2767, allocations: 0 / 445.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04251/0.3192, allocations: 5.221 MB / 450.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.35, allocations: 6.406 kB / 450.8 MB, free: 2.109 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv failed! Error: Could not read variable dcPowerSupply.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv. Warning: Get data of variable dcPowerSupply.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.958258608006872]