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.0009743/0.0009743, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001129/0.001129, allocations: 163.8 kB / 24.99 MB, free: 8.254 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 1.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.286/0.286, allocations: 34.26 MB / 296 MB, free: 0.7461 MB / 266.7 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 2.425e-06/2.425e-06, allocations: 0 / 378.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.844e-05/4.087e-05, allocations: 2.312 kB / 378.1 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01962/0.01966, allocations: 13.95 MB / 392 MB, free: 4.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0223/0.04196, allocations: 26.13 MB / 418.2 MB, free: 10.69 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.04219, allocations: 4 kB / 418.2 MB, free: 10.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.04254, allocations: 83.38 kB / 418.2 MB, free: 10.6 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01984/0.06238, allocations: 8.624 MB / 426.9 MB, free: 1.938 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008821/0.06326, allocations: 350.7 kB / 427.2 MB, free: 1.594 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003271/0.06653, allocations: 2.029 MB / 429.2 MB, free: 15.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.442e-05/0.0666, allocations: 16.58 kB / 429.2 MB, free: 15.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.0671, allocations: 314.8 kB / 429.6 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004164/0.07126, allocations: 3.266 MB / 432.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.07131, allocations: 8 kB / 432.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01626/0.08757, allocations: 10.35 MB / 443.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.08769, allocations: 59.69 kB / 443.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.08786, allocations: 103.8 kB / 443.3 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2135/0.3014, allocations: 7.981 MB / 451.3 MB, free: 61.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.3014, allocations: 0 / 451.3 MB, free: 61.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3014, allocations: 0 / 451.3 MB, free: 61.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.3014, allocations: 0 / 451.3 MB, free: 61.69 MB / 410.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.00505/0.3065, allocations: 1.617 MB / 452.9 MB, free: 60.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.3065, allocations: 11.47 kB / 452.9 MB, free: 60.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.3078, allocations: 340.1 kB / 453.3 MB, free: 60.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.3081, allocations: 226.2 kB / 453.5 MB, free: 60.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.3081, allocations: 22.44 kB / 453.5 MB, free: 60.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.3082, allocations: 33.56 kB / 453.6 MB, free: 60.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.3099, allocations: 0.9547 MB / 454.5 MB, free: 60.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.3099, allocations: 6 kB / 454.5 MB, free: 60.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.3099, allocations: 14.22 kB / 454.5 MB, free: 60.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.3099, allocations: 8.094 kB / 454.5 MB, free: 60.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.3115, allocations: 0.8404 MB / 455.4 MB, free: 60.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.3136, allocations: 2.482 MB / 457.9 MB, free: 58.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.3147, allocations: 416.5 kB / 458.3 MB, free: 58.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3148, allocations: 67.02 kB / 458.3 MB, free: 58.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5064/0.8212, allocations: 161.8 MB / 0.6056 GB, free: 168.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/0.8226, allocations: 0.5139 MB / 0.6061 GB, free: 168.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 3.917e-06/0.8226, allocations: 0 / 0.6061 GB, free: 168.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.002626/0.8252, allocations: 0.8628 MB / 0.607 GB, free: 168.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.8253, allocations: 374.7 kB / 0.6073 GB, free: 167.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.8255, allocations: 261.8 kB / 0.6076 GB, free: 167.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.8255, allocations: 31.61 kB / 0.6076 GB, free: 167.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.8256, allocations: 242.2 kB / 0.6078 GB, free: 167.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.11e-05/0.8257, allocations: 119.4 kB / 0.6079 GB, free: 167.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.8259, allocations: 134 kB / 0.6081 GB, free: 167.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.8259, allocations: 0.5025 MB / 0.6086 GB, free: 166.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.8261, allocations: 97.98 kB / 0.6086 GB, free: 166.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.8264, allocations: 478.1 kB / 0.6091 GB, free: 166.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/0.827, allocations: 0.6105 MB / 0.6097 GB, free: 165.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.827, allocations: 2.812 kB / 0.6097 GB, free: 165.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008043/0.8278, allocations: 0.5193 MB / 0.6102 GB, free: 165.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.8278, allocations: 14.03 kB / 0.6102 GB, free: 165.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.8278, allocations: 7.781 kB / 0.6102 GB, free: 165.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/0.8278, allocations: 12.84 kB / 0.6102 GB, free: 165.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.8282, allocations: 142.7 kB / 0.6104 GB, free: 165.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.8282, allocations: 17.75 kB / 0.6104 GB, free: 165.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.8285, allocations: 54.88 kB / 0.6104 GB, free: 165.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.8285, allocations: 42.33 kB / 0.6105 GB, free: 165.6 MB / 474.7 MB 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.0001467/0.8287, allocations: 199.5 kB / 0.6107 GB, free: 165.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.8288, allocations: 39.8 kB / 0.6107 GB, free: 165.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.8302, allocations: 1.502 MB / 0.6122 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/0.8302, allocations: 22.11 kB / 0.6122 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.8302, allocations: 3.953 kB / 0.6122 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.8302, allocations: 2.844 kB / 0.6122 GB, free: 164.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008216/0.8311, allocations: 0.7523 MB / 0.6129 GB, free: 164.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.8311, allocations: 6.5 kB / 0.613 GB, free: 164.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.8313, allocations: 75.94 kB / 0.613 GB, free: 164.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.8313, allocations: 2.969 kB / 0.613 GB, free: 164.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.8313, allocations: 13.09 kB / 0.613 GB, free: 164.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.8313, allocations: 10.62 kB / 0.613 GB, free: 164.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8313, allocations: 2.938 kB / 0.6131 GB, free: 164.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007416/0.8321, allocations: 0.6294 MB / 0.6137 GB, free: 164.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.8321, allocations: 54.27 kB / 0.6137 GB, free: 164 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.8323, allocations: 105.7 kB / 0.6138 GB, free: 164 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.8325, allocations: 13.64 kB / 0.6138 GB, free: 164 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.8325, allocations: 40.84 kB / 0.6139 GB, free: 164 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.8326, allocations: 18.88 kB / 0.6139 GB, free: 164 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004691/0.833, allocations: 0.5206 MB / 0.6144 GB, free: 163.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.833, allocations: 0 / 0.6144 GB, free: 163.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004706/0.8377, allocations: 1.534 MB / 0.6159 GB, free: 163.7 MB / 474.7 MB 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.007183/0.8449, allocations: 1.96 MB / 0.6178 GB, free: 163.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007282/0.8457, allocations: 360.5 kB / 0.6182 GB, free: 163.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.8457, allocations: 3.188 kB / 0.6182 GB, free: 163.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.8459, allocations: 178.3 kB / 0.6183 GB, free: 163.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/0.8467, allocations: 229 kB / 0.6185 GB, free: 163.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9806/1.827, allocations: 0.6025 GB / 1.221 GB, free: 142.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.486e-05/1.827, allocations: 172.4 kB / 1.221 GB, free: 142.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004982/1.828, allocations: 0.5227 MB / 1.222 GB, free: 142.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/1.828, allocations: 61.95 kB / 1.222 GB, free: 142.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.533e-06/1.828, allocations: 0 / 1.222 GB, free: 142.4 MB / 474.7 MB Notification: Performance of Templates: time 0.04277/1.871, allocations: 57.32 MB / 1.278 GB, free: 85.38 MB / 474.7 MB " [Timeout remaining time 658] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.524886925937608]