Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.ReferenceAir_dT,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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009812/0.0009812, allocations: 196.5 kB / 15.79 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 226.5 MB / 243.1 MB, free: 12.55 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007763/0.0007763, allocations: 101.8 kB / 295.1 MB, free: 4.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 44.84 MB / 392 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002554/0.0002554, allocations: 11.98 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09268/0.09296, allocations: 62.95 MB / 0.5153 GB, free: 5.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.008666/0.1017, allocations: 10.21 MB / 0.5253 GB, free: 10.85 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.1122, allocations: 10.79 MB / 0.5358 GB, free: 36 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.1124, allocations: 0 / 0.5358 GB, free: 36 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.1128, allocations: 55.73 kB / 0.5359 GB, free: 15.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007099/0.1199, allocations: 2.448 MB / 0.5383 GB, free: 13.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.1203, allocations: 142 kB / 0.5384 GB, free: 13.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008044/0.1283, allocations: 7.408 MB / 0.5456 GB, free: 5.973 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.252e-05/0.1284, allocations: 20.39 kB / 0.5457 GB, free: 5.953 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.1286, allocations: 139.5 kB / 0.5458 GB, free: 5.816 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2166/0.3452, allocations: 14.16 MB / 0.5596 GB, free: 24.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.669e-05/0.3454, allocations: 8.969 kB / 0.5596 GB, free: 24.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005037/0.3504, allocations: 1.941 MB / 0.5615 GB, free: 24.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.3505, allocations: 44.3 kB / 0.5616 GB, free: 24.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.3506, allocations: 68.75 kB / 0.5616 GB, free: 24.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.3527, allocations: 1.026 MB / 0.5626 GB, free: 24.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3527, allocations: 1.375 kB / 0.5626 GB, free: 24.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3527, allocations: 3.375 kB / 0.5626 GB, free: 24.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3527, allocations: 0 / 0.5626 GB, free: 24.36 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001938/0.3547, allocations: 0.8663 MB / 0.5635 GB, free: 23.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3547, allocations: 9.625 kB / 0.5635 GB, free: 23.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004961/0.3552, allocations: 78.48 kB / 0.5636 GB, free: 23.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.3555, allocations: 248.8 kB / 0.5638 GB, free: 23.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.3555, allocations: 20 kB / 0.5638 GB, free: 23.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.3555, allocations: 26.81 kB / 0.5639 GB, free: 23.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/0.3564, allocations: 479.3 kB / 0.5643 GB, free: 23.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3564, allocations: 4.594 kB / 0.5643 GB, free: 23.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.3564, allocations: 11.59 kB / 0.5643 GB, free: 23.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3564, allocations: 7.062 kB / 0.5643 GB, free: 23.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.3575, allocations: 0.6751 MB / 0.565 GB, free: 23.46 MB / 378.7 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.006132/0.3636, allocations: 3.082 MB / 0.568 GB, free: 21.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.3642, allocations: 214.4 kB / 0.5682 GB, free: 21.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.3644, allocations: 80.45 kB / 0.5683 GB, free: 21.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06993/0.4343, allocations: 30.62 MB / 0.5982 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006826/0.435, allocations: 341.6 kB / 0.5985 GB, free: 10.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.284e-06/0.435, allocations: 0 / 0.5985 GB, free: 10.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.002782/0.4378, allocations: 0.9659 MB / 0.5995 GB, free: 9.633 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001988/0.438, allocations: 480.8 kB / 0.5999 GB, free: 9.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.4382, allocations: 165.9 kB / 0.6001 GB, free: 8.914 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.4382, allocations: 32.64 kB / 0.6001 GB, free: 8.879 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.802e-05/0.4383, allocations: 162.6 kB / 0.6003 GB, free: 8.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.539e-05/0.4384, allocations: 126 kB / 0.6004 GB, free: 8.621 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.4385, allocations: 13.2 kB / 0.6004 GB, free: 8.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4386, allocations: 328.9 kB / 0.6007 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.4387, allocations: 70.2 kB / 0.6008 GB, free: 8.246 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.4389, allocations: 323.4 kB / 0.6011 GB, free: 7.859 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.4391, allocations: 119.3 kB / 0.6012 GB, free: 7.785 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4391, allocations: 0 / 0.6012 GB, free: 7.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006291/0.4398, allocations: 441.4 kB / 0.6016 GB, free: 7.477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.4398, allocations: 16 kB / 0.6016 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.4398, allocations: 8 kB / 0.6016 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.4417, allocations: 305.1 kB / 0.6019 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.442, allocations: 104.2 kB / 0.602 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006532/0.4427, allocations: 1.218 MB / 0.6032 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.4429, allocations: 29.34 kB / 0.6032 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.443, allocations: 27.94 kB / 0.6033 GB, free: 5.805 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.4432, allocations: 162.8 kB / 0.6034 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.4433, allocations: 30.97 kB / 0.6035 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.4447, allocations: 1.082 MB / 0.6045 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.4447, allocations: 7.984 kB / 0.6045 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.4448, allocations: 11.02 kB / 0.6045 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4448, allocations: 4 kB / 0.6045 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.4462, allocations: 1.554 MB / 0.6061 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.4463, allocations: 0 / 0.6061 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.4464, allocations: 43.23 kB / 0.6061 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.4476, allocations: 248.7 kB / 0.6063 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.4476, allocations: 16.06 kB / 0.6063 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000567/0.4482, allocations: 1.258 MB / 0.6076 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4482, allocations: 7.375 kB / 0.6076 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/0.4488, allocations: 0.6043 MB / 0.6082 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.449, allocations: 210.8 kB / 0.6084 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.449, allocations: 18.23 kB / 0.6084 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.4493, allocations: 11.19 kB / 0.6084 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.4493, allocations: 26.78 kB / 0.6084 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.4494, allocations: 15 kB / 0.6084 GB, free: 1.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002589/0.4496, allocations: 270 kB / 0.6087 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.192e-06/0.4496, allocations: 0 / 0.6087 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001722/0.4514, allocations: 454.7 kB / 0.6091 GB, free: 0.5586 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001409/0.4528, allocations: 0.6465 MB / 0.6098 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005931/0.4534, allocations: 363.4 kB / 0.6101 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4534, allocations: 0 / 0.6101 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002495/0.4537, allocations: 227.6 kB / 0.6103 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.4543, allocations: 93.53 kB / 0.6104 GB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9454/1.4, allocations: 0.4902 GB / 1.101 GB, free: 61.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/1.4, allocations: 0.8235 MB / 1.101 GB, free: 60.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/1.4, allocations: 47.42 kB / 1.101 GB, free: 60.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/1.4, allocations: 4 kB / 1.101 GB, free: 60.55 MB / 0.5261 GB Notification: Performance of Templates: time 0.01356/1.414, allocations: 14.33 MB / 1.115 GB, free: 46.28 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches