Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, allocations: 107.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00164/0.00164, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2348/0.2348, allocations: 46.88 MB / 358.1 MB, free: 10.52 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 83.86 kB / 0.4924 GB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1461, allocations: 65.98 MB / 0.5568 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02728/0.1733, allocations: 13.99 MB / 0.5705 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4334/0.6067, allocations: 26.68 MB / 0.5966 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.607, allocations: 1.156 kB / 0.5966 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.6075, allocations: 95.67 kB / 0.5966 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03037/0.6378, allocations: 8.547 MB / 0.605 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.6392, allocations: 350.5 kB / 0.6053 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006411/0.6456, allocations: 2.007 MB / 0.6073 GB, free: 3.551 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.6457, allocations: 13.28 kB / 0.6073 GB, free: 3.551 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006796/0.6464, allocations: 268.9 kB / 0.6076 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008402/0.6548, allocations: 3.279 MB / 0.6108 GB, free: 2.555 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.6549, allocations: 10.5 kB / 0.6108 GB, free: 2.555 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02826/0.6832, allocations: 10.84 MB / 0.6214 GB, free: 364 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.6833, allocations: 57.08 kB / 0.6214 GB, free: 332 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.6837, allocations: 142.4 kB / 0.6215 GB, free: 300 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0238/0.7075, allocations: 6.338 MB / 0.6277 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7075, allocations: 0 / 0.6277 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.7075, allocations: 0 / 0.6277 GB, free: 12.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.7075, allocations: 0 / 0.6277 GB, free: 12.71 MB / 462.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.006575/0.7141, allocations: 1.619 MB / 0.6293 GB, free: 11.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.7141, allocations: 8.094 kB / 0.6293 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.7161, allocations: 218.9 kB / 0.6295 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.7167, allocations: 280.7 kB / 0.6298 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/0.7167, allocations: 22.19 kB / 0.6298 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.2e-05/0.7168, allocations: 38.28 kB / 0.6299 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.7194, allocations: 0.8238 MB / 0.6307 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.7194, allocations: 0 / 0.6307 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.7194, allocations: 17.81 kB / 0.6307 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.7194, allocations: 7.062 kB / 0.6307 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.722, allocations: 0.9381 MB / 0.6316 GB, free: 10.18 MB / 462.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.003806/0.7258, allocations: 2.563 MB / 0.6341 GB, free: 7.832 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.7273, allocations: 372 kB / 0.6345 GB, free: 7.637 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.7275, allocations: 78.09 kB / 0.6345 GB, free: 7.594 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033/1.761, allocations: 241.3 MB / 0.8701 GB, free: 256.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/1.762, allocations: 470.4 kB / 0.8706 GB, free: 256.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/1.762, allocations: 1.281 kB / 0.8706 GB, free: 256.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=32): time 0.003147/1.766, allocations: 0.7834 MB / 0.8713 GB, free: 256.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.766, allocations: 378 kB / 0.8717 GB, free: 255.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/1.766, allocations: 180.6 kB / 0.8719 GB, free: 255.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/1.766, allocations: 32.08 kB / 0.8719 GB, free: 255.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 9.23e-05/1.766, allocations: 189.8 kB / 0.8721 GB, free: 255.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.385e-05/1.766, allocations: 117.9 kB / 0.8722 GB, free: 255.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/1.766, allocations: 125.9 kB / 0.8723 GB, free: 255.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.369e-05/1.766, allocations: 330.1 kB / 0.8726 GB, free: 255.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/1.767, allocations: 84.72 kB / 0.8727 GB, free: 255.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/1.767, allocations: 350.5 kB / 0.8731 GB, free: 254.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/1.768, allocations: 486.5 kB / 0.8735 GB, free: 254.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/1.768, allocations: 3.656 kB / 0.8735 GB, free: 254.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001013/1.769, allocations: 471.8 kB / 0.874 GB, free: 254.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.769, allocations: 12.69 kB / 0.874 GB, free: 254.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.769, allocations: 9.969 kB / 0.874 GB, free: 254.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/1.769, allocations: 11.19 kB / 0.874 GB, free: 254.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/1.769, allocations: 143.6 kB / 0.8741 GB, free: 254.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/1.769, allocations: 16.84 kB / 0.8742 GB, free: 254.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/1.769, allocations: 55.14 kB / 0.8742 GB, free: 254.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/1.77, allocations: 42.89 kB / 0.8742 GB, free: 254.1 MB / 0.67 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.0001841/1.77, allocations: 165.5 kB / 0.8744 GB, free: 254 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.875e-05/1.77, allocations: 32.3 kB / 0.8744 GB, free: 254 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/1.772, allocations: 2.606 MB / 0.877 GB, free: 252.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.772, allocations: 22.72 kB / 0.877 GB, free: 252.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.772, allocations: 4.344 kB / 0.877 GB, free: 252.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/1.772, allocations: 7.953 kB / 0.877 GB, free: 252.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008304/1.773, allocations: 0.9236 MB / 0.8779 GB, free: 251.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.773, allocations: 7.781 kB / 0.8779 GB, free: 251.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/1.774, allocations: 82.95 kB / 0.878 GB, free: 251.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/1.774, allocations: 3.969 kB / 0.878 GB, free: 251.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/1.774, allocations: 15.78 kB / 0.878 GB, free: 251.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.774, allocations: 3.719 kB / 0.878 GB, free: 251.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/1.774, allocations: 3.75 kB / 0.878 GB, free: 251.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008715/1.774, allocations: 0.6989 MB / 0.8787 GB, free: 251.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/1.774, allocations: 138.5 kB / 0.8788 GB, free: 251.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/1.775, allocations: 109.2 kB / 0.8789 GB, free: 251.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/1.775, allocations: 15.92 kB / 0.879 GB, free: 251.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/1.775, allocations: 31.66 kB / 0.879 GB, free: 251.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/1.775, allocations: 15.88 kB / 0.879 GB, free: 251.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004999/1.776, allocations: 0.502 MB / 0.8795 GB, free: 250.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.776, allocations: 0 / 0.8795 GB, free: 250.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006008/1.782, allocations: 1.537 MB / 0.881 GB, free: 250.6 MB / 0.67 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.01124/1.793, allocations: 1.749 MB / 0.8827 GB, free: 249 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001048/1.794, allocations: 410.9 kB / 0.8831 GB, free: 248.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.794, allocations: 0 / 0.8831 GB, free: 248.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002938/1.794, allocations: 219.2 kB / 0.8833 GB, free: 248.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009466/1.795, allocations: 137.2 kB / 0.8834 GB, free: 248.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.406/3.201, allocations: 0.6027 GB / 1.486 GB, free: 112.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/3.201, allocations: 0.9895 MB / 1.487 GB, free: 111.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/3.202, allocations: 59.41 kB / 1.487 GB, free: 111.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.092e-06/3.202, allocations: 0 / 1.487 GB, free: 111.8 MB / 0.67 GB Notification: Performance of Templates: time 0.03723/3.239, allocations: 33.03 MB / 1.519 GB, free: 78.79 MB / 0.67 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.621924038976431]