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.0008536/0.0008536, allocations: 75.7 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0009994/0.0009994, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8609/0.8609, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 2.145e-06/2.145e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.136e-05, allocations: 8.609 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002295/0.002316, allocations: 1.997 MB / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000753/0.003069, allocations: 0.5455 MB / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.132e-05/0.00315, allocations: 3.938 kB / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.138e-05/0.003242, allocations: 19.78 kB / 327.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.665e-05/0.003308, allocations: 39.66 kB / 327.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.003548, allocations: 75.77 kB / 327.3 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.003759, allocations: 215.3 kB / 327.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.003886, allocations: 29.25 kB / 327.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.004026, allocations: 127.8 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.004188, allocations: 67.83 kB / 327.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.004216, allocations: 20 kB / 327.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.696e-05/0.004263, allocations: 20 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.004293, allocations: 35.84 kB / 327.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.004345, allocations: 55.89 kB / 327.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.004573, allocations: 215.4 kB / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004576, allocations: 0 / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004577, allocations: 0 / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.004581, allocations: 0 / 328 MB, free: 12.45 MB / 298.7 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.0005307/0.005112, allocations: 411.4 kB / 328.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.005147, allocations: 12.03 kB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.00518, allocations: 42.73 kB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/0.005271, allocations: 24.84 kB / 328.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.005473, allocations: 153.6 kB / 328.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.522e-05/0.005558, allocations: 149.1 kB / 328.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.005576, allocations: 12.38 kB / 328.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.005805, allocations: 205.6 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.005812, allocations: 4.125 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.005828, allocations: 11.94 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.005833, allocations: 0 / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.00602, allocations: 111.9 kB / 329.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.006577, allocations: 442.7 kB / 329.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.006804, allocations: 114.6 kB / 329.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.006878, allocations: 44.84 kB / 329.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.006898, allocations: 3.938 kB / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.00692, allocations: 46.55 kB / 329.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.006921, allocations: 0 / 329.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005018/0.007423, allocations: 218.3 kB / 330 MB, free: 10.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.00745, allocations: 51.41 kB / 330.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.007551, allocations: 157.3 kB / 330.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.007571, allocations: 29.7 kB / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.007628, allocations: 116 kB / 330.4 MB, free: 9.902 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.007644, allocations: 27.8 kB / 330.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.007697, allocations: 33.72 kB / 330.4 MB, free: 9.836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.833e-05/0.007776, allocations: 318.8 kB / 330.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.007891, allocations: 93.59 kB / 330.8 MB, free: 9.418 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.008017, allocations: 112.2 kB / 330.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.008192, allocations: 148.2 kB / 331.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.008195, allocations: 0 / 331.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000347/0.008542, allocations: 293.6 kB / 331.4 MB, free: 8.824 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.008568, allocations: 33.7 kB / 331.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.008572, allocations: 0 / 331.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/0.008743, allocations: 76.88 kB / 331.5 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.102e-05/0.008794, allocations: 19.98 kB / 331.5 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.009844, allocations: 1.506 MB / 333 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.01, allocations: 39.95 kB / 333 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.01001, allocations: 4 kB / 333 MB, free: 7.027 MB / 298.7 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 7.284e-05/0.01009, allocations: 125.8 kB / 333.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.01011, allocations: 19.91 kB / 333.2 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.01034, allocations: 171.6 kB / 333.3 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01034, allocations: 0 / 333.3 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.01035, allocations: 7.875 kB / 333.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01035, allocations: 0 / 333.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.01049, allocations: 172.7 kB / 333.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.01049, allocations: 0 / 333.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.01053, allocations: 15.92 kB / 333.5 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001106/0.01064, allocations: 76.81 kB / 333.6 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.01065, allocations: 0 / 333.6 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008716/0.01152, allocations: 1.506 MB / 335.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.01152, allocations: 3.984 kB / 335.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.01175, allocations: 252.2 kB / 335.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.01176, allocations: 11.91 kB / 335.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.01177, allocations: 4 kB / 335.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.01183, allocations: 11.98 kB / 335.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.01193, allocations: 11.98 kB / 335.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.01194, allocations: 4 kB / 335.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.932e-05/0.01199, allocations: 111.3 kB / 335.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01199, allocations: 0 / 335.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001971/0.01219, allocations: 47.94 kB / 335.6 MB, free: 4.289 MB / 298.7 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.0004129/0.0126, allocations: 0.7873 MB / 336.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004022/0.013, allocations: 331.9 kB / 336.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.013, allocations: 4.125 kB / 336.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.01315, allocations: 170.7 kB / 336.9 MB, free: 2.934 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.01336, allocations: 28.03 kB / 336.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.01501, allocations: 2.08 MB / 339 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.49e-05/0.01507, allocations: 93.8 kB / 339 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.737e-05/0.01511, allocations: 12.48 kB / 339.1 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.01516, allocations: 36.48 kB / 339.1 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01516, allocations: 0 / 339.1 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.03242, allocations: 5.311 MB / 344.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/7.735, allocations: 6.156 kB / 344.4 MB, free: 11.38 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","/var/lib/jenkins/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: 9.418602442368865]