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.001752/0.001752, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002271/0.002271, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.42/1.42, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001708/0.001708, allocations: 47.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1054, allocations: 53.34 MB / 426.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.00391/0.1093, allocations: 2.061 MB / 428.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1105, allocations: 0.5767 MB / 429 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.1107, allocations: 3.938 kB / 429 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.1108, allocations: 11.86 kB / 429 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.1109, allocations: 39.66 kB / 429 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.1113, allocations: 75.83 kB / 429.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003401/0.1116, allocations: 215.3 kB / 429.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1117, allocations: 33.11 kB / 429.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.1119, allocations: 75.83 kB / 429.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.1121, allocations: 91.64 kB / 429.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.1121, allocations: 16 kB / 429.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.117e-05/0.1122, allocations: 24 kB / 429.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.1122, allocations: 35.84 kB / 429.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.486e-05/0.1123, allocations: 79.64 kB / 429.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.1126, allocations: 199.3 kB / 429.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1126, allocations: 0 / 429.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1126, allocations: 0 / 429.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1126, allocations: 0 / 429.9 MB, free: 1.211 MB / 350.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.0009516/0.1136, allocations: 492.5 kB / 430.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1136, allocations: 8.031 kB / 430.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.1137, allocations: 42.73 kB / 430.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.1138, allocations: 28.84 kB / 430.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.1142, allocations: 208.2 kB / 430.6 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.1143, allocations: 89.67 kB / 430.7 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.1143, allocations: 16.38 kB / 430.7 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.1147, allocations: 125.6 kB / 430.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1147, allocations: 0 / 430.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.1147, allocations: 4 kB / 430.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1147, allocations: 0 / 430.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1846/0.2993, allocations: 115.6 kB / 431 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.3003, allocations: 0.5109 MB / 431.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.3007, allocations: 110.1 kB / 431.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.3008, allocations: 45.81 kB / 431.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.3009, allocations: 1.312 kB / 431.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.3009, allocations: 41.09 kB / 431.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.3009, allocations: 0 / 431.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009148/0.3018, allocations: 303.3 kB / 432 MB, free: 10.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.3018, allocations: 56.91 kB / 432 MB, free: 10.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.302, allocations: 148.2 kB / 432.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.302, allocations: 28.39 kB / 432.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.3021, allocations: 123.7 kB / 432.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.3021, allocations: 32.27 kB / 432.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.3022, allocations: 31.28 kB / 432.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.3022, allocations: 321.9 kB / 432.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.3024, allocations: 58.38 kB / 432.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.3026, allocations: 83.72 kB / 432.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.3029, allocations: 145.7 kB / 433 MB, free: 10.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3029, allocations: 0.625 kB / 433 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005854/0.3035, allocations: 264.7 kB / 433.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.3035, allocations: 33.95 kB / 433.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.3035, allocations: 3.188 kB / 433.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.3038, allocations: 74.8 kB / 433.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.3038, allocations: 22.95 kB / 433.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.3051, allocations: 1.614 MB / 435 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.3054, allocations: 55.3 kB / 435 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.3055, allocations: 4.25 kB / 435 MB, free: 8.617 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 8.285e-05/0.3055, allocations: 128.4 kB / 435.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.3056, allocations: 10.17 kB / 435.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.3059, allocations: 163.5 kB / 435.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3059, allocations: 1.125 kB / 435.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3059, allocations: 6.734 kB / 435.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3059, allocations: 1.062 kB / 435.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.3061, allocations: 222.6 kB / 435.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3061, allocations: 0 / 435.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.609e-05/0.3062, allocations: 14.33 kB / 435.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.3064, allocations: 77.44 kB / 435.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3064, allocations: 0.9688 kB / 435.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.3076, allocations: 1.607 MB / 437.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3076, allocations: 2.656 kB / 437.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.308, allocations: 254.6 kB / 437.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.308, allocations: 91.36 kB / 437.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.308, allocations: 1.594 kB / 437.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.3082, allocations: 15.7 kB / 437.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.3082, allocations: 16.19 kB / 437.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3082, allocations: 4.75 kB / 437.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.977e-05/0.3083, allocations: 110.2 kB / 437.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3083, allocations: 0 / 437.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003359/0.3086, allocations: 48.28 kB / 437.8 MB, free: 6.473 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.0006408/0.3093, allocations: 0.7967 MB / 438.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006922/0.31, allocations: 296.8 kB / 438.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.31, allocations: 1.219 kB / 438.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.3103, allocations: 177.2 kB / 439 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.3106, allocations: 26.62 kB / 439.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.3131, allocations: 1.974 MB / 441 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.3133, allocations: 0.7135 MB / 441.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.471e-05/0.3133, allocations: 8.156 kB / 441.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.3134, allocations: 31.44 kB / 441.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3134, allocations: 0 / 441.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03323/0.3466, allocations: 4.518 MB / 446.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.54, allocations: 4 kB / 446.3 MB, free: 2.574 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.019933468895033]