Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 174.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007346/0.0007345, allocations: 102.3 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2948/0.2948, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003311, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1099, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01038/0.1203, allocations: 10.22 MB / 0.4893 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.1957/0.3161, allocations: 13.08 MB / 0.5021 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.3164, allocations: 1.844 kB / 0.5021 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.3167, allocations: 55.73 kB / 0.5021 GB, free: 34.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008032/0.3247, allocations: 2.498 MB / 0.5046 GB, free: 33.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.3251, allocations: 135.5 kB / 0.5047 GB, free: 33.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008209/0.3333, allocations: 7.411 MB / 0.5119 GB, free: 31.9 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.567e-05/0.3334, allocations: 17.17 kB / 0.512 GB, free: 31.9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.3336, allocations: 142.6 kB / 0.5121 GB, free: 31.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01475/0.3484, allocations: 14.15 MB / 0.5259 GB, free: 29.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.65e-05/0.3485, allocations: 7.656 kB / 0.5259 GB, free: 29.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004924/0.3534, allocations: 2.017 MB / 0.5279 GB, free: 29.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.3535, allocations: 48.95 kB / 0.5279 GB, free: 29.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.3537, allocations: 142 kB / 0.5281 GB, free: 29.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.3555, allocations: 1.054 MB / 0.5291 GB, free: 28.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.3555, allocations: 0 / 0.5291 GB, free: 28.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3555, allocations: 1.375 kB / 0.5291 GB, free: 28.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3555, allocations: 0 / 0.5291 GB, free: 28.91 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.001819/0.3573, allocations: 0.8617 MB / 0.5299 GB, free: 28.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3574, allocations: 14.31 kB / 0.53 GB, free: 28.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005127/0.3579, allocations: 79.28 kB / 0.53 GB, free: 28.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.3581, allocations: 238.4 kB / 0.5303 GB, free: 28.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.3581, allocations: 20.66 kB / 0.5303 GB, free: 28.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.3582, allocations: 36.14 kB / 0.5303 GB, free: 28.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007935/0.359, allocations: 481.8 kB / 0.5308 GB, free: 27.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.359, allocations: 5.281 kB / 0.5308 GB, free: 27.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.3591, allocations: 15.91 kB / 0.5308 GB, free: 27.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.3591, allocations: 6.875 kB / 0.5308 GB, free: 27.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009583/0.36, allocations: 0.6793 MB / 0.5315 GB, free: 27.64 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.005305/0.3654, allocations: 3.083 MB / 0.5345 GB, free: 25.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005288/0.3659, allocations: 222.8 kB / 0.5347 GB, free: 25.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.67e-05/0.366, allocations: 69.78 kB / 0.5348 GB, free: 25.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06686/0.4329, allocations: 30.61 MB / 0.5647 GB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006794/0.4336, allocations: 350.2 kB / 0.565 GB, free: 12.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.4336, allocations: 4 kB / 0.565 GB, free: 12.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.002762/0.4364, allocations: 0.9644 MB / 0.5659 GB, free: 11.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/0.4366, allocations: 478.6 kB / 0.5664 GB, free: 10.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.4367, allocations: 158.3 kB / 0.5665 GB, free: 10.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.4368, allocations: 33.7 kB / 0.5666 GB, free: 10.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.49e-05/0.4369, allocations: 160.1 kB / 0.5667 GB, free: 10.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.621e-05/0.437, allocations: 142.1 kB / 0.5669 GB, free: 10.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.437, allocations: 8 kB / 0.5669 GB, free: 10.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4371, allocations: 330.8 kB / 0.5672 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.4372, allocations: 69.08 kB / 0.5672 GB, free: 10.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.4375, allocations: 316.3 kB / 0.5675 GB, free: 9.633 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.4379, allocations: 456 kB / 0.568 GB, free: 9.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4379, allocations: 0 / 0.568 GB, free: 9.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006362/0.4386, allocations: 434.4 kB / 0.5684 GB, free: 8.633 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4386, allocations: 8.906 kB / 0.5684 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.4386, allocations: 12 kB / 0.5684 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.4405, allocations: 305.1 kB / 0.5687 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.4407, allocations: 107.8 kB / 0.5688 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005952/0.4413, allocations: 1.215 MB / 0.57 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.4416, allocations: 19.91 kB / 0.57 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.4416, allocations: 35.92 kB / 0.5701 GB, free: 6.895 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.0001467/0.4418, allocations: 165.7 kB / 0.5702 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.4418, allocations: 31.72 kB / 0.5702 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.4431, allocations: 1.072 MB / 0.5713 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.4432, allocations: 15.98 kB / 0.5713 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4432, allocations: 3.938 kB / 0.5713 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.4432, allocations: 7.984 kB / 0.5713 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.4446, allocations: 1.541 MB / 0.5728 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.4447, allocations: 4 kB / 0.5728 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.4448, allocations: 47.86 kB / 0.5729 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.4459, allocations: 244.6 kB / 0.5731 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.446, allocations: 12 kB / 0.5731 GB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005839/0.4466, allocations: 1.269 MB / 0.5744 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.4466, allocations: 7.969 kB / 0.5744 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.4472, allocations: 0.5913 MB / 0.5749 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.4474, allocations: 216.1 kB / 0.5751 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.4474, allocations: 11.94 kB / 0.5752 GB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.4477, allocations: 19.89 kB / 0.5752 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.4477, allocations: 19.98 kB / 0.5752 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.4477, allocations: 23.98 kB / 0.5752 GB, free: 1.309 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002806/0.448, allocations: 267.1 kB / 0.5755 GB, free: 1.047 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.448, allocations: 0 / 0.5755 GB, free: 1.047 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00151/0.4495, allocations: 443.6 kB / 0.5759 GB, free: 0.6133 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.001741/0.4513, allocations: 0.6528 MB / 0.5765 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005846/0.4519, allocations: 360.5 kB / 0.5769 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4519, allocations: 4.062 kB / 0.5769 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.4522, allocations: 234.6 kB / 0.5771 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007765/0.453, allocations: 102.6 kB / 0.5772 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.051/1.504, allocations: 0.4902 GB / 1.067 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/1.504, allocations: 0.8288 MB / 1.068 GB, free: 134.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/1.505, allocations: 48.45 kB / 1.068 GB, free: 134.7 MB / 490.7 MB Notification: Performance of SimCode: time 6.52e-07/1.505, allocations: 0 / 1.068 GB, free: 134.7 MB / 490.7 MB Notification: Performance of Templates: time 0.01489/1.519, allocations: 14.33 MB / 1.082 GB, free: 127.3 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches