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.00141/0.00141, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001421/0.001421, allocations: 209.8 kB / 23.74 MB, free: 4.691 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.391/1.391, allocations: 230.6 MB / 257.5 MB, free: 8 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.001492/0.001492, allocations: 47.92 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2774, allocations: 53.37 MB / 431.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003375/0.2808, allocations: 2.053 MB / 433.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.2818, allocations: 0.5999 MB / 433.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.2819, allocations: 0 / 433.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.2821, allocations: 23.78 kB / 433.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.479e-05/0.2821, allocations: 39.7 kB / 433.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.2824, allocations: 67.84 kB / 433.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.2827, allocations: 207.3 kB / 434.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.2829, allocations: 37.23 kB / 434.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.283, allocations: 91.64 kB / 434.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.2832, allocations: 83.72 kB / 434.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.2832, allocations: 16 kB / 434.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.2833, allocations: 24 kB / 434.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.2833, allocations: 35.89 kB / 434.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.039e-05/0.2834, allocations: 83.64 kB / 434.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.2837, allocations: 191.7 kB / 434.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2837, allocations: 0 / 434.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2837, allocations: 0 / 434.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.2837, allocations: 0 / 434.7 MB, free: 3.285 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.0007999/0.2845, allocations: 415.4 kB / 435.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2846, allocations: 8.031 kB / 435.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.2846, allocations: 46.75 kB / 435.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.2848, allocations: 20.84 kB / 435.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.2851, allocations: 158.3 kB / 435.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.2852, allocations: 145.1 kB / 435.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.2852, allocations: 12.38 kB / 435.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.2855, allocations: 133 kB / 435.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2855, allocations: 0 / 435.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.2856, allocations: 4 kB / 435.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.2856, allocations: 8 kB / 435.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.2859, allocations: 111.7 kB / 435.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008755/0.2867, allocations: 490.3 kB / 436.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.2871, allocations: 106.7 kB / 436.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.2872, allocations: 44.78 kB / 436.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.2873, allocations: 7.984 kB / 436.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.2873, allocations: 34.5 kB / 436.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.2873, allocations: 4 kB / 436.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008105/0.2881, allocations: 222.3 kB / 436.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.2881, allocations: 55.39 kB / 436.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.2883, allocations: 152 kB / 436.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.2883, allocations: 30.08 kB / 436.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.2884, allocations: 120 kB / 437 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.2885, allocations: 27.8 kB / 437 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-05/0.2885, allocations: 33.7 kB / 437 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2887, allocations: 326.8 kB / 437.3 MB, free: 404 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.2888, allocations: 51.97 kB / 437.4 MB, free: 352 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.289, allocations: 90.48 kB / 437.5 MB, free: 252 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.2893, allocations: 140.2 kB / 437.6 MB, free: 96 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2893, allocations: 0 / 437.6 MB, free: 96 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006054/0.2899, allocations: 275.8 kB / 437.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.29, allocations: 37.69 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.29, allocations: 4 kB / 437.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/0.2902, allocations: 76.81 kB / 438 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.2903, allocations: 20.05 kB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.2922, allocations: 1.51 MB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.2926, allocations: 43.98 kB / 439.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.2926, allocations: 12.06 kB / 439.6 MB, free: 13.98 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.0001365/0.2927, allocations: 121.8 kB / 439.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.2928, allocations: 19.83 kB / 439.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.2932, allocations: 163.1 kB / 439.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2932, allocations: 0 / 439.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.2932, allocations: 192 / 439.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2932, allocations: 4 kB / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.2934, allocations: 192.7 kB / 440.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2934, allocations: 0 / 440.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.2935, allocations: 15.92 kB / 440.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000169/0.2937, allocations: 76.73 kB / 440.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2937, allocations: 8 kB / 440.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.2953, allocations: 1.506 MB / 441.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2953, allocations: 192 / 441.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.2957, allocations: 252.3 kB / 441.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.2957, allocations: 15.91 kB / 441.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.2957, allocations: 4 kB / 442 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.2959, allocations: 16.05 kB / 442 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.2959, allocations: 15.97 kB / 442 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.2959, allocations: 4 kB / 442 MB, free: 11.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.867e-05/0.296, allocations: 108.7 kB / 442.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.296, allocations: 0 / 442.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.2963, allocations: 47.94 kB / 442.1 MB, free: 11.23 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.0008563/0.2972, allocations: 0.7835 MB / 442.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006868/0.2979, allocations: 309.8 kB / 443.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2979, allocations: 128 / 443.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.2982, allocations: 170.6 kB / 443.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.2985, allocations: 39.58 kB / 443.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.3014, allocations: 1.968 MB / 445.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.3018, allocations: 0.7123 MB / 446.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.3019, allocations: 4.5 kB / 446.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.302, allocations: 31.42 kB / 446.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.302, allocations: 0 / 446.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/0.3367, allocations: 4.627 MB / 450.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.48, allocations: 3.375 kB / 450.8 MB, free: 2.566 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: 14.992736254000192]