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.001938/0.001938, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002205/0.002205, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.001505/0.001505, allocations: 51.86 kB / 377.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2528, allocations: 53.36 MB / 431.1 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003484/0.2563, allocations: 1.996 MB / 433.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2574, allocations: 0.5455 MB / 433.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.895e-05/0.2575, allocations: 8 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.2576, allocations: 15.8 kB / 433.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.193e-05/0.2577, allocations: 31.72 kB / 433.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.258, allocations: 79.77 kB / 433.8 MB, free: 4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.2583, allocations: 211.3 kB / 434 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2584, allocations: 29.25 kB / 434 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.2585, allocations: 87.69 kB / 434.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.2587, allocations: 75.72 kB / 434.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.2587, allocations: 24 kB / 434.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.088e-05/0.2588, allocations: 20 kB / 434.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.2588, allocations: 35.84 kB / 434.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.029e-05/0.2589, allocations: 63.78 kB / 434.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.2592, allocations: 195.7 kB / 434.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2592, allocations: 0 / 434.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2592, allocations: 0 / 434.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.2592, allocations: 0 / 434.5 MB, free: 3.273 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.0007496/0.26, allocations: 419.4 kB / 434.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.26, allocations: 8.031 kB / 434.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.2601, allocations: 46.73 kB / 435 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.2602, allocations: 20.84 kB / 435 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.2605, allocations: 160.9 kB / 435.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.2606, allocations: 145.1 kB / 435.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.2606, allocations: 8.375 kB / 435.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.261, allocations: 204.3 kB / 435.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.261, allocations: 7.938 kB / 435.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.261, allocations: 8 kB / 435.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.261, allocations: 7.938 kB / 435.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.2613, allocations: 111.8 kB / 435.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008345/0.2622, allocations: 442.5 kB / 436 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.2625, allocations: 110.7 kB / 436.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.2626, allocations: 44.78 kB / 436.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.2626, allocations: 3.984 kB / 436.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.2627, allocations: 42.5 kB / 436.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.2627, allocations: 0 / 436.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008022/0.2635, allocations: 222.6 kB / 436.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.2635, allocations: 55.39 kB / 436.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2637, allocations: 150.3 kB / 436.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.2637, allocations: 29.8 kB / 436.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.2638, allocations: 123.9 kB / 436.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.2638, allocations: 27.8 kB / 436.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.2639, allocations: 33.7 kB / 436.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.264, allocations: 322.8 kB / 437.2 MB, free: 332 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.2642, allocations: 85.67 kB / 437.3 MB, free: 240 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.2644, allocations: 116.2 kB / 437.4 MB, free: 108 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.2648, allocations: 144.2 kB / 437.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2648, allocations: 0 / 437.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006246/0.2654, allocations: 305.5 kB / 437.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.2654, allocations: 33.7 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2654, allocations: 0 / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.2657, allocations: 76.8 kB / 437.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.014e-05/0.2658, allocations: 19.98 kB / 438 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.2676, allocations: 1.506 MB / 439.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.2679, allocations: 44.05 kB / 439.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.268, allocations: 8 kB / 439.5 MB, free: 13.82 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.0001349/0.2681, allocations: 129.8 kB / 439.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.2681, allocations: 15.84 kB / 439.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004211/0.2686, allocations: 167.1 kB / 439.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2686, allocations: 0 / 439.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.2686, allocations: 4 kB / 439.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2686, allocations: 0 / 439.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.2688, allocations: 172.7 kB / 440 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2688, allocations: 192 / 440 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.538e-05/0.2689, allocations: 19.92 kB / 440 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/0.2691, allocations: 84.73 kB / 440.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.2691, allocations: 0 / 440.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.2707, allocations: 1.494 MB / 441.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2707, allocations: 0 / 441.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.2711, allocations: 256.3 kB / 441.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.2712, allocations: 11.91 kB / 441.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.2712, allocations: 0 / 441.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.2713, allocations: 20.23 kB / 441.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.2714, allocations: 11.97 kB / 441.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.2714, allocations: 12 kB / 441.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.67e-05/0.2715, allocations: 109.3 kB / 442 MB, free: 11.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2715, allocations: 0 / 442 MB, free: 11.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.2718, allocations: 55.88 kB / 442 MB, free: 11.07 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.0007915/0.2726, allocations: 0.7796 MB / 442.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006826/0.2733, allocations: 331.6 kB / 443.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2733, allocations: 0 / 443.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.2736, allocations: 170.6 kB / 443.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.2739, allocations: 36.41 kB / 443.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.2768, allocations: 2.079 MB / 445.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.869e-05/0.2769, allocations: 93.62 kB / 445.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.45e-05/0.2769, allocations: 8.484 kB / 445.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.698e-05/0.277, allocations: 35.42 kB / 445.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.277, allocations: 0 / 445.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.3124, allocations: 5.183 MB / 450.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.65, allocations: 2.406 kB / 450.8 MB, free: 2.328 MB / 350.1 MB " [Timeout remaining time 647] (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: 15.350068765692413]