Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001409/0.001409, allocations: 85.95 kB / 20.68 MB, free: 1.023 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.00152/0.00152, allocations: 163.2 kB / 23.95 MB, free: 4.156 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.495/1.495, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2242/0.2242, allocations: 34.29 MB / 295 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.378e-06/4.378e-06, allocations: 4 kB / 442.7 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/3.069e-05, allocations: 2.281 kB / 442.7 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.2612/0.2613, allocations: 12.71 MB / 455.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02912/0.2904, allocations: 23.36 MB / 478.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003166/0.2907, allocations: 6.469 kB / 478.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004469/0.2911, allocations: 78.42 kB / 478.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.032/0.3231, allocations: 8.643 MB / 487.5 MB, free: 7.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.3242, allocations: 358.8 kB / 487.9 MB, free: 7.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00502/0.3293, allocations: 2.035 MB / 489.9 MB, free: 6.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.084e-05/0.3293, allocations: 12.81 kB / 489.9 MB, free: 6.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005627/0.3299, allocations: 309.8 kB / 490.2 MB, free: 5.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007813/0.3377, allocations: 3.259 MB / 493.5 MB, free: 3.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.3378, allocations: 12 kB / 493.5 MB, free: 3.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02389/0.3617, allocations: 10.35 MB / 0.492 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.3618, allocations: 51.75 kB / 0.4921 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.362, allocations: 103.8 kB / 0.4922 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02191/0.384, allocations: 8.018 MB / 0.5 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.384, allocations: 3.938 kB / 0.5 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.384, allocations: 4 kB / 0.5 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.384, allocations: 0 / 0.5 GB, free: 0.9258 MB / 398.1 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.005143/0.3891, allocations: 1.521 MB / 0.5015 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3892, allocations: 16.02 kB / 0.5015 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.391, allocations: 220.6 kB / 0.5017 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.3914, allocations: 217.3 kB / 0.5019 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.3914, allocations: 25.03 kB / 0.502 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.3915, allocations: 32.38 kB / 0.502 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.3941, allocations: 0.8721 MB / 0.5028 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3941, allocations: 7.938 kB / 0.5029 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.3941, allocations: 15.94 kB / 0.5029 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.3941, allocations: 8 kB / 0.5029 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/0.3969, allocations: 0.9273 MB / 0.5038 GB, free: 12.95 MB / 414.1 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.003243/0.4001, allocations: 1.94 MB / 0.5057 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.4016, allocations: 378.1 kB / 0.506 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.4017, allocations: 68.81 kB / 0.5061 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8667/1.268, allocations: 161 MB / 0.6633 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/1.27, allocations: 475.6 kB / 0.6638 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.675e-06/1.27, allocations: 0 / 0.6638 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.002968/1.273, allocations: 0.7875 MB / 0.6645 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.273, allocations: 371.8 kB / 0.6649 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/1.273, allocations: 192 kB / 0.6651 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/1.273, allocations: 33.7 kB / 0.6651 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/1.273, allocations: 198 kB / 0.6653 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/1.273, allocations: 117.7 kB / 0.6654 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/1.274, allocations: 126.1 kB / 0.6655 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.561e-05/1.274, allocations: 330.8 kB / 0.6658 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/1.274, allocations: 76.94 kB / 0.6659 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/1.274, allocations: 347.2 kB / 0.6663 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/1.275, allocations: 475.6 kB / 0.6667 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.275, allocations: 4 kB / 0.6667 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000881/1.276, allocations: 470.8 kB / 0.6672 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.276, allocations: 11.75 kB / 0.6672 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.276, allocations: 12 kB / 0.6672 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/1.276, allocations: 15.8 kB / 0.6672 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/1.276, allocations: 140.5 kB / 0.6673 GB, free: 178 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/1.276, allocations: 23.75 kB / 0.6674 GB, free: 178 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/1.276, allocations: 59.23 kB / 0.6674 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/1.277, allocations: 39.98 kB / 0.6674 GB, free: 177.9 MB / 0.5294 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.0001568/1.277, allocations: 165.4 kB / 0.6676 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/1.277, allocations: 31.73 kB / 0.6676 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/1.279, allocations: 2.838 MB / 0.6704 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/1.279, allocations: 15.98 kB / 0.6704 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.279, allocations: 4 kB / 0.6704 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.279, allocations: 9.25 kB / 0.6704 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006929/1.28, allocations: 0.8403 MB / 0.6713 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.28, allocations: 4 kB / 0.6713 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/1.28, allocations: 75.88 kB / 0.6713 GB, free: 174 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/1.28, allocations: 4 kB / 0.6713 GB, free: 174 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/1.28, allocations: 19.92 kB / 0.6714 GB, free: 174 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/1.28, allocations: 4 kB / 0.6714 GB, free: 174 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.28, allocations: 7 kB / 0.6714 GB, free: 174 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008564/1.281, allocations: 0.7144 MB / 0.6721 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/1.281, allocations: 53.97 kB / 0.6721 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/1.281, allocations: 113 kB / 0.6722 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/1.281, allocations: 19.98 kB / 0.6722 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/1.282, allocations: 27.95 kB / 0.6723 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/1.282, allocations: 16.86 kB / 0.6723 GB, free: 173 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004814/1.282, allocations: 0.504 MB / 0.6728 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.282, allocations: 3.938 kB / 0.6728 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004481/1.286, allocations: 1.529 MB / 0.6743 GB, free: 171 MB / 0.5294 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.006891/1.293, allocations: 1.966 MB / 0.6762 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008581/1.294, allocations: 415.5 kB / 0.6766 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.294, allocations: 1.75 kB / 0.6766 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002726/1.295, allocations: 232.3 kB / 0.6768 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009117/1.295, allocations: 143.2 kB / 0.6769 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.446/2.741, allocations: 0.6026 GB / 1.28 GB, free: 195.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/2.741, allocations: 399 kB / 1.28 GB, free: 195 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008516/2.742, allocations: 0.5188 MB / 1.28 GB, free: 195 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/2.742, allocations: 58.8 kB / 1.28 GB, free: 195 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/2.742, allocations: 1.156 kB / 1.28 GB, free: 195 MB / 0.545 GB Notification: Performance of Templates: time 0.06101/2.803, allocations: 56.08 MB / 1.335 GB, free: 149.5 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 11.780101846903563]