Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.0008646/0.0008646, allocations: 80.44 kB / 19.93 MB, free: 4.633 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.0009388/0.0009388, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8463/0.8463, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.135/0.135, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 406.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.502e-05, allocations: 2.281 kB / 406.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01133/0.01134, allocations: 12.62 MB / 419.5 MB, free: 5.523 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01827/0.02961, allocations: 23.35 MB / 442.9 MB, free: 14.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.02975, allocations: 4 kB / 442.9 MB, free: 14.08 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.03007, allocations: 87.42 kB / 442.9 MB, free: 14 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01613/0.04621, allocations: 8.603 MB / 451.6 MB, free: 5.359 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.04694, allocations: 358.7 kB / 451.9 MB, free: 5.008 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.04954, allocations: 2.037 MB / 453.9 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.126e-05/0.0496, allocations: 20.58 kB / 454 MB, free: 2.922 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004161/0.05002, allocations: 306.8 kB / 454.3 MB, free: 2.621 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003261/0.05328, allocations: 3.256 MB / 457.5 MB, free: 15.31 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.05332, allocations: 12 kB / 457.5 MB, free: 15.3 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01373/0.06705, allocations: 10.31 MB / 467.8 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.06712, allocations: 51.75 kB / 467.9 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.06723, allocations: 103.8 kB / 468 MB, free: 4.816 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1909/0.2581, allocations: 8.003 MB / 476 MB, free: 64.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.2581, allocations: 0 / 476 MB, free: 64.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2581, allocations: 0 / 476 MB, free: 64.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.2581, allocations: 1.781 kB / 476 MB, free: 64.07 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.00456/0.2627, allocations: 1.518 MB / 477.5 MB, free: 63.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.2628, allocations: 15.25 kB / 477.5 MB, free: 63.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.2628, allocations: 66.16 kB / 477.6 MB, free: 63.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009592/0.2638, allocations: 218.9 kB / 477.8 MB, free: 63.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.2642, allocations: 215 kB / 478 MB, free: 63.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.013e-05/0.2642, allocations: 25.28 kB / 478 MB, free: 63.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.2643, allocations: 31.03 kB / 478.1 MB, free: 63.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.2656, allocations: 0.8741 MB / 478.9 MB, free: 62.92 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.2656, allocations: 6.844 kB / 479 MB, free: 62.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.2657, allocations: 13.88 kB / 479 MB, free: 62.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.2657, allocations: 10.84 kB / 479 MB, free: 62.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.2669, allocations: 0.9291 MB / 479.9 MB, free: 62.91 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.2689, allocations: 1.986 MB / 481.9 MB, free: 61.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/0.2696, allocations: 376.7 kB / 482.3 MB, free: 61.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.588e-05/0.2697, allocations: 73.98 kB / 482.3 MB, free: 61.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2622/0.5319, allocations: 158.6 MB / 0.6259 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008506/0.5327, allocations: 478.7 kB / 0.6264 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.5327, allocations: 4 kB / 0.6264 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.001608/0.5344, allocations: 0.7832 MB / 0.6272 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.5345, allocations: 371.6 kB / 0.6275 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.5348, allocations: 197 kB / 0.6277 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.5349, allocations: 37.7 kB / 0.6277 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.5349, allocations: 189.2 kB / 0.6279 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.535, allocations: 114.4 kB / 0.628 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/0.5351, allocations: 130.1 kB / 0.6281 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.5352, allocations: 326.8 kB / 0.6285 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.5353, allocations: 80.94 kB / 0.6285 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.5355, allocations: 346 kB / 0.6289 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.5359, allocations: 483.7 kB / 0.6293 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5359, allocations: 0 / 0.6293 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005581/0.5365, allocations: 478.8 kB / 0.6298 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.5365, allocations: 8 kB / 0.6298 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5365, allocations: 8 kB / 0.6298 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.5365, allocations: 12 kB / 0.6298 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.5368, allocations: 143 kB / 0.6299 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.5368, allocations: 19.17 kB / 0.63 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.537, allocations: 61.27 kB / 0.63 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.537, allocations: 39.98 kB / 0.6301 GB, free: 1.352 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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 0.0001196/0.5371, allocations: 163.1 kB / 0.6302 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.5372, allocations: 27.84 kB / 0.6302 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.539, allocations: 2.834 MB / 0.633 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.539, allocations: 15.98 kB / 0.633 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.539, allocations: 4 kB / 0.633 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.539, allocations: 7.984 kB / 0.633 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006289/0.5396, allocations: 0.9167 MB / 0.6339 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.5396, allocations: 4 kB / 0.6339 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.5398, allocations: 79.72 kB / 0.634 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.5398, allocations: 4 kB / 0.634 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.5398, allocations: 16.92 kB / 0.634 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.5398, allocations: 7.984 kB / 0.634 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.5398, allocations: 7.844 kB / 0.634 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000674/0.5405, allocations: 0.711 MB / 0.6347 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.5405, allocations: 59.52 kB / 0.6348 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.5406, allocations: 107 kB / 0.6349 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.5408, allocations: 15.98 kB / 0.6349 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.5408, allocations: 36.23 kB / 0.6349 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.5409, allocations: 19.98 kB / 0.635 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003806/0.5412, allocations: 0.5013 MB / 0.6355 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.5412, allocations: 0 / 0.6355 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003012/0.5442, allocations: 1.52 MB / 0.6369 GB, free: 10.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.005132/0.5494, allocations: 3.096 MB / 0.64 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.5499, allocations: 419.9 kB / 0.6404 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5499, allocations: 0 / 0.6404 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.5501, allocations: 235.1 kB / 0.6406 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.5506, allocations: 134.4 kB / 0.6407 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9343/1.485, allocations: 0.6049 GB / 1.246 GB, free: 58.56 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/1.485, allocations: 396.3 kB / 1.246 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004169/1.486, allocations: 0.5267 MB / 1.247 GB, free: 57.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/1.486, allocations: 336.4 kB / 1.247 GB, free: 57.32 MB / 0.5261 GB Notification: Performance of SimCode: time 1.834e-06/1.486, allocations: 0 / 1.247 GB, free: 57.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.25/1.736, allocations: 64.75 MB / 1.31 GB, free: 186.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.075/10.81, allocations: 0.9844 kB / 1.31 GB, free: 186.1 MB / 0.5261 GB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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: 13.029158491641283]