Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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.0008225/0.0008225, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0007513/0.0007513, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8699/0.8699, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 3.938 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.879e-06/1.093e-05, allocations: 5.375 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003437/0.003448, allocations: 4.267 MB / 328.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.004533, allocations: 1.627 MB / 330.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.004583, allocations: 3.938 kB / 330.4 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.004794, allocations: 35.7 kB / 330.5 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.005039, allocations: 127.1 kB / 330.6 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.005421, allocations: 269.8 kB / 330.9 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.005639, allocations: 290.8 kB / 331.2 MB, free: 9.328 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.005676, allocations: 17.25 kB / 331.2 MB, free: 9.309 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.005883, allocations: 175.6 kB / 331.3 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/0.005957, allocations: 67.8 kB / 331.4 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.005974, allocations: 8 kB / 331.4 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.006117, allocations: 95.8 kB / 331.5 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.006173, allocations: 39.89 kB / 331.5 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.006221, allocations: 67.78 kB / 331.6 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.00645, allocations: 235.4 kB / 331.8 MB, free: 8.633 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.006452, allocations: 0 / 331.8 MB, free: 8.633 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006452, allocations: 0 / 331.8 MB, free: 8.633 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.006456, allocations: 0 / 331.8 MB, free: 8.633 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006003/0.007056, allocations: 421.8 kB / 332.3 MB, free: 8.188 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.007091, allocations: 12.03 kB / 332.3 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.007131, allocations: 46.73 kB / 332.3 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.823e-05/0.00723, allocations: 20.88 kB / 332.3 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.007405, allocations: 161.5 kB / 332.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.007417, allocations: 16.66 kB / 332.5 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.00744, allocations: 16.36 kB / 332.5 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.007742, allocations: 372.2 kB / 332.9 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.007752, allocations: 192 / 332.9 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.00777, allocations: 11.94 kB / 332.9 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.007776, allocations: 4 kB / 332.9 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.007978, allocations: 147.8 kB / 333 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007739/0.008752, allocations: 0.8596 MB / 333.9 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.008984, allocations: 150.7 kB / 334.1 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/0.009059, allocations: 52.83 kB / 334.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002948/0.009354, allocations: 324.1 kB / 334.4 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.009373, allocations: 42.55 kB / 334.5 MB, free: 5.785 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/0.009374, allocations: 0 / 334.5 MB, free: 5.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.001323/0.0107, allocations: 0.6958 MB / 335.2 MB, free: 5.055 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.01072, allocations: 55.34 kB / 335.2 MB, free: 4.988 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.01081, allocations: 165.8 kB / 335.4 MB, free: 4.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.01084, allocations: 37.64 kB / 335.4 MB, free: 4.777 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.01089, allocations: 144.1 kB / 335.6 MB, free: 4.633 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.01092, allocations: 67.44 kB / 335.6 MB, free: 4.566 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.01098, allocations: 65.64 kB / 335.7 MB, free: 4.496 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.01105, allocations: 326.8 kB / 336 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.01118, allocations: 83.69 kB / 336.1 MB, free: 4.086 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.01135, allocations: 198 kB / 336.3 MB, free: 3.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.01166, allocations: 296.4 kB / 336.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01166, allocations: 4 kB / 336.6 MB, free: 3.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003716/0.01203, allocations: 317.1 kB / 336.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.01204, allocations: 11.94 kB / 336.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.01205, allocations: 4 kB / 336.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.01206, allocations: 4 kB / 336.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.01224, allocations: 84.36 kB / 337 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.01224, allocations: 11.94 kB / 337 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.661e-05/0.01234, allocations: 15.98 kB / 337 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.01236, allocations: 15.98 kB / 337 MB, free: 3.043 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.285e-05/0.01243, allocations: 129.8 kB / 337.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.01246, allocations: 19.84 kB / 337.2 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.01282, allocations: 249.6 kB / 337.4 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01282, allocations: 4 kB / 337.4 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01282, allocations: 0 / 337.4 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01283, allocations: 0 / 337.4 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/0.01347, allocations: 0.5516 MB / 338 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01347, allocations: 8 kB / 338 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.0136, allocations: 55.89 kB / 338 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.0136, allocations: 0 / 338 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.01362, allocations: 7.938 kB / 338 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01362, allocations: 4 kB / 338 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01362, allocations: 8.062 kB / 338.1 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.01406, allocations: 407 kB / 338.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.0141, allocations: 27.91 kB / 338.5 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.01412, allocations: 8 kB / 338.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.01422, allocations: 20.05 kB / 338.5 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.01424, allocations: 11.92 kB / 338.5 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.01425, allocations: 15.98 kB / 338.5 MB, free: 1.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.608e-05/0.0143, allocations: 110.3 kB / 338.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0143, allocations: 4 kB / 338.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000232/0.01453, allocations: 59.94 kB / 338.7 MB, free: 1.262 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006471/0.01518, allocations: 0.9538 MB / 339.7 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.01549, allocations: 218.8 kB / 339.9 MB, free: 56 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01549, allocations: 0 / 339.9 MB, free: 56 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.01562, allocations: 91.75 kB / 340 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.01587, allocations: 39.06 kB / 340 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.01772, allocations: 2.331 MB / 342.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.13e-05/0.01778, allocations: 103.3 kB / 342.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.01791, allocations: 45.88 kB / 342.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.01799, allocations: 52.47 kB / 342.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of SimCode: time 2.8e-07/0.01799, allocations: 4 kB / 342.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.03425, allocations: 5.321 MB / 347.8 MB, free: 8.012 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.445/6.479, allocations: 10.73 kB / 347.9 MB, free: 8.004 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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: 8.077452707104385]