Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008693/0.0008694, allocations: 101 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.338/0.338, allocations: 45.22 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 8 kB / 468.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3343, allocations: 63.24 MB / 0.5192 GB, free: 43.69 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.288/5.622, allocations: 2.757 GB / 3.276 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/5.623, allocations: 84.77 kB / 3.276 GB, free: 13 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7614/6.384, allocations: 217.3 MB / 3.488 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.513e-06/6.384, allocations: 0 / 3.488 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.256e-05/6.384, allocations: 4 kB / 3.488 GB, free: 25.68 MB / 0.5417 GB 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.007403/6.391, allocations: 1.746 MB / 3.49 GB, free: 23.88 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/6.392, allocations: 12.03 kB / 3.49 GB, free: 23.87 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/6.393, allocations: 187.4 kB / 3.49 GB, free: 23.69 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/6.394, allocations: 270.6 kB / 3.49 GB, free: 23.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/6.394, allocations: 28.59 kB / 3.49 GB, free: 23.36 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/6.394, allocations: 28 kB / 3.49 GB, free: 23.33 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/6.396, allocations: 0.7433 MB / 3.491 GB, free: 22.54 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/6.396, allocations: 7.938 kB / 3.491 GB, free: 22.53 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/6.396, allocations: 19.95 kB / 3.491 GB, free: 22.51 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/6.396, allocations: 8 kB / 3.491 GB, free: 22.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/6.398, allocations: 0.802 MB / 3.492 GB, free: 21.7 MB / 0.5417 GB 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.003211/6.401, allocations: 2.929 MB / 3.495 GB, free: 18.54 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/6.402, allocations: 346.3 kB / 3.495 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5669/6.969, allocations: 144.8 MB / 3.636 GB, free: 31.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/6.971, allocations: 435.4 kB / 3.637 GB, free: 31.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 1.974e-06/6.971, allocations: 4 kB / 3.637 GB, free: 31.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.003518/6.974, allocations: 1.105 MB / 3.638 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/6.974, allocations: 374.8 kB / 3.638 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/6.974, allocations: 170.2 kB / 3.638 GB, free: 30.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/6.974, allocations: 33.78 kB / 3.638 GB, free: 30.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/6.974, allocations: 184.3 kB / 3.639 GB, free: 30.43 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/6.974, allocations: 115.8 kB / 3.639 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/6.975, allocations: 11.84 kB / 3.639 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.797e-05/6.975, allocations: 331.2 kB / 3.639 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/6.975, allocations: 80.23 kB / 3.639 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/6.975, allocations: 352.1 kB / 3.639 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/6.975, allocations: 130.5 kB / 3.64 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/6.975, allocations: 3.719 kB / 3.64 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006324/6.976, allocations: 463.9 kB / 3.64 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/6.976, allocations: 10.78 kB / 3.64 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/6.976, allocations: 13.61 kB / 3.64 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/6.976, allocations: 18.91 kB / 3.64 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/6.977, allocations: 191 kB / 3.64 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003433/6.978, allocations: 1.183 MB / 3.641 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/6.978, allocations: 26.67 kB / 3.641 GB, free: 28.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/6.978, allocations: 47.61 kB / 3.641 GB, free: 28.47 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001558/6.978, allocations: 158.8 kB / 3.642 GB, free: 28.36 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/6.978, allocations: 28.41 kB / 3.642 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/6.981, allocations: 2.831 MB / 3.644 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/6.981, allocations: 25.27 kB / 3.644 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/6.981, allocations: 4.844 kB / 3.644 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/6.981, allocations: 3.625 kB / 3.644 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/6.982, allocations: 0.9664 MB / 3.645 GB, free: 27.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/6.982, allocations: 3.938 kB / 3.645 GB, free: 27.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/6.983, allocations: 98.75 kB / 3.645 GB, free: 27.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/6.983, allocations: 171.9 kB / 3.646 GB, free: 27.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.135e-05/6.983, allocations: 10.83 kB / 3.646 GB, free: 27.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003308/6.984, allocations: 0.6404 MB / 3.646 GB, free: 27.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/6.984, allocations: 11.23 kB / 3.646 GB, free: 27.24 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/6.985, allocations: 1.098 MB / 3.647 GB, free: 26.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004718/6.985, allocations: 357 kB / 3.648 GB, free: 26.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/6.986, allocations: 11.34 kB / 3.648 GB, free: 26.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/6.986, allocations: 25.03 kB / 3.648 GB, free: 26.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/6.986, allocations: 30.42 kB / 3.648 GB, free: 26.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/6.986, allocations: 14 kB / 3.648 GB, free: 26.61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004333/6.987, allocations: 465.1 kB / 3.648 GB, free: 26.51 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.11e-07/6.987, allocations: 0 / 3.648 GB, free: 26.51 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00638/6.993, allocations: 1.66 MB / 3.65 GB, free: 26.51 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01104/7.004, allocations: 2.051 MB / 3.652 GB, free: 26.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001547/7.006, allocations: 0.5194 MB / 3.652 GB, free: 26.18 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/7.006, allocations: 0 / 3.652 GB, free: 26.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004785/7.006, allocations: 360.8 kB / 3.653 GB, free: 26.17 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000903/7.007, allocations: 128.9 kB / 3.653 GB, free: 26.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.435/8.442, allocations: 0.5674 GB / 4.22 GB, free: 87.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/8.443, allocations: 1.005 MB / 4.221 GB, free: 87.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007398/8.444, allocations: 498.8 kB / 4.222 GB, free: 87.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/8.444, allocations: 50.64 kB / 4.222 GB, free: 87.17 MB / 0.5573 GB Notification: Performance of SimCode: time 7.81e-07/8.444, allocations: 0 / 4.222 GB, free: 87.17 MB / 0.5573 GB Notification: Performance of Templates: time 0.04852/8.492, allocations: 40.58 MB / 4.261 GB, free: 84.83 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches