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.002253/0.002253, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.648/1.648, allocations: 226.5 MB / 245.4 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009079/0.0009081, allocations: 97.88 kB / 297.5 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3753/0.3753, allocations: 44.81 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004471, allocations: 12.2 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3579, allocations: 62.95 MB / 0.5184 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.054/7.412, allocations: 2.757 GB / 3.275 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/7.413, allocations: 83.94 kB / 3.275 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8343/8.247, allocations: 215.4 MB / 3.486 GB, free: 27.14 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.284e-06/8.247, allocations: 0 / 3.486 GB, free: 27.14 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.465e-05/8.247, allocations: 4 kB / 3.486 GB, free: 27.14 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.009021/8.256, allocations: 1.746 MB / 3.487 GB, free: 25.34 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/8.256, allocations: 8.031 kB / 3.487 GB, free: 25.33 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/8.258, allocations: 188.5 kB / 3.487 GB, free: 25.15 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/8.258, allocations: 279.8 kB / 3.488 GB, free: 24.84 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/8.258, allocations: 25.03 kB / 3.488 GB, free: 24.81 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/8.258, allocations: 28.38 kB / 3.488 GB, free: 24.79 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/8.261, allocations: 0.7414 MB / 3.488 GB, free: 23.99 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/8.261, allocations: 8.125 kB / 3.488 GB, free: 23.98 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/8.261, allocations: 15.94 kB / 3.488 GB, free: 23.97 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/8.261, allocations: 8 kB / 3.489 GB, free: 23.96 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/8.262, allocations: 0.8098 MB / 3.489 GB, free: 23.14 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.004297/8.267, allocations: 2.929 MB / 3.492 GB, free: 20 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/8.268, allocations: 350.9 kB / 3.492 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/8.269, allocations: 68.83 kB / 3.493 GB, free: 19.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7259/8.994, allocations: 144.8 MB / 3.634 GB, free: 38.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/8.996, allocations: 439.6 kB / 3.634 GB, free: 37.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 4.027e-06/8.996, allocations: 0 / 3.634 GB, free: 37.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.003848/9, allocations: 1.109 MB / 3.635 GB, free: 37.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/9, allocations: 375.5 kB / 3.636 GB, free: 37.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/9, allocations: 181.4 kB / 3.636 GB, free: 37.18 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/9, allocations: 29.45 kB / 3.636 GB, free: 37.15 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.824e-05/9, allocations: 190.8 kB / 3.636 GB, free: 37.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.711e-05/9, allocations: 118.1 kB / 3.636 GB, free: 36.96 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/9, allocations: 7.812 kB / 3.636 GB, free: 36.96 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/9, allocations: 336.7 kB / 3.637 GB, free: 36.65 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/9.001, allocations: 78.12 kB / 3.637 GB, free: 36.64 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/9.001, allocations: 352.5 kB / 3.637 GB, free: 36.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/9.001, allocations: 472.5 kB / 3.637 GB, free: 35.95 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/9.001, allocations: 0 / 3.637 GB, free: 35.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007186/9.002, allocations: 465.6 kB / 3.638 GB, free: 35.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/9.002, allocations: 9.938 kB / 3.638 GB, free: 35.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/9.002, allocations: 8.969 kB / 3.638 GB, free: 35.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/9.002, allocations: 11.91 kB / 3.638 GB, free: 35.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/9.003, allocations: 195.6 kB / 3.638 GB, free: 35.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000416/9.004, allocations: 1.193 MB / 3.639 GB, free: 34.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/9.004, allocations: 20.97 kB / 3.639 GB, free: 34.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/9.004, allocations: 43.64 kB / 3.639 GB, free: 34.73 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.0002066/9.005, allocations: 165.7 kB / 3.64 GB, free: 34.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/9.005, allocations: 26.94 kB / 3.64 GB, free: 34.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/9.007, allocations: 2.833 MB / 3.642 GB, free: 34.28 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/9.007, allocations: 25.44 kB / 3.642 GB, free: 34.28 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/9.007, allocations: 3.875 kB / 3.642 GB, free: 34.28 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/9.007, allocations: 3.938 kB / 3.642 GB, free: 34.28 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/9.008, allocations: 0.9631 MB / 3.643 GB, free: 34.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/9.008, allocations: 8.031 kB / 3.643 GB, free: 34.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/9.009, allocations: 105.5 kB / 3.643 GB, free: 34.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/9.009, allocations: 160.8 kB / 3.644 GB, free: 34.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/9.009, allocations: 11.56 kB / 3.644 GB, free: 34.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002887/9.01, allocations: 0.6436 MB / 3.644 GB, free: 33.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/9.01, allocations: 3.938 kB / 3.644 GB, free: 33.49 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009992/9.011, allocations: 0.9639 MB / 3.645 GB, free: 33.21 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/9.011, allocations: 359.7 kB / 3.645 GB, free: 33.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/9.011, allocations: 7.594 kB / 3.645 GB, free: 33.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/9.011, allocations: 27.94 kB / 3.646 GB, free: 33.06 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/9.011, allocations: 35.78 kB / 3.646 GB, free: 33.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/9.011, allocations: 13.88 kB / 3.646 GB, free: 33.05 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004838/9.012, allocations: 466.7 kB / 3.646 GB, free: 32.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/9.012, allocations: 0 / 3.646 GB, free: 32.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007311/9.019, allocations: 1.652 MB / 3.648 GB, free: 32.95 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.01334/9.033, allocations: 2.068 MB / 3.65 GB, free: 32.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001642/9.034, allocations: 0.5253 MB / 3.65 GB, free: 32.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/9.034, allocations: 3.594 kB / 3.65 GB, free: 32.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005052/9.035, allocations: 360 kB / 3.65 GB, free: 32.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/9.036, allocations: 125.8 kB / 3.651 GB, free: 32.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.33/10.37, allocations: 365.3 MB / 4.007 GB, free: 101 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008794/10.37, allocations: 0.9808 MB / 4.008 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001147/10.37, allocations: 0.4903 MB / 4.009 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/10.37, allocations: 58.78 kB / 4.009 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.653e-06/10.37, allocations: 0 / 4.009 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.05701/10.43, allocations: 43.84 MB / 4.052 GB, free: 91.34 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/jenkins1/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