Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 97.48 kB / 15.98 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 194.7 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.1 MB / 222.8 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2379/0.2379, allocations: 43.51 MB / 313.6 MB, free: 0.7148 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 67.66 kB / 382.2 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1367, allocations: 57.8 MB / 440 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.0111/0.1478, allocations: 11.25 MB / 451.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01637/0.1643, allocations: 14.2 MB / 465.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.1645, allocations: 0 / 465.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.165, allocations: 63.62 kB / 465.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0115/0.1765, allocations: 2.758 MB / 468.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.1769, allocations: 147.2 kB / 468.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006194/0.1831, allocations: 4.188 MB / 472.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.1832, allocations: 28.38 kB / 472.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.1834, allocations: 143.4 kB / 472.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01058/0.194, allocations: 7.727 MB / 480.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-05/0.1941, allocations: 8 kB / 480.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005902/0.2, allocations: 2.131 MB / 482.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.2002, allocations: 47.75 kB / 482.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.2004, allocations: 127.4 kB / 482.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003375/0.2038, allocations: 1.544 MB / 484.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2038, allocations: 0 / 484.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2038, allocations: 4 kB / 484.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2038, allocations: 0 / 484.4 MB, free: 10.87 MB / 366.1 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.001983/0.2058, allocations: 0.9243 MB / 485.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.2059, allocations: 19.89 kB / 485.3 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005662/0.2064, allocations: 76.59 kB / 485.4 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.2068, allocations: 248 kB / 485.6 MB, free: 9.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.2068, allocations: 16.94 kB / 485.6 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.2068, allocations: 28.38 kB / 485.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009409/0.2078, allocations: 485.6 kB / 486.1 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.2078, allocations: 0 / 486.1 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.2079, allocations: 12 kB / 486.2 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2079, allocations: 11.94 kB / 486.2 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.209, allocations: 0.6773 MB / 486.8 MB, free: 8.27 MB / 366.1 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.007689/0.2167, allocations: 4.303 MB / 491.2 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/0.2174, allocations: 174.6 kB / 491.3 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2175, allocations: 60.77 kB / 491.4 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02817/0.2457, allocations: 16.41 MB / 0.4959 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007465/0.2465, allocations: 309.8 kB / 0.4962 GB, free: 360 kB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.335e-06/0.2465, allocations: 0 / 0.4962 GB, free: 360 kB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001363/0.2479, allocations: 442.6 kB / 0.4966 GB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002252/0.2481, allocations: 483 kB / 0.4971 GB, free: 15.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.2483, allocations: 195.3 kB / 0.4973 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.2484, allocations: 29.7 kB / 0.4973 GB, free: 15.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.2485, allocations: 183.6 kB / 0.4975 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.669e-05/0.2486, allocations: 102.6 kB / 0.4976 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.2487, allocations: 98.02 kB / 0.4976 GB, free: 14.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2488, allocations: 330.8 kB / 0.498 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.2489, allocations: 64.83 kB / 0.498 GB, free: 14.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.2492, allocations: 314.7 kB / 0.4983 GB, free: 13.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.2497, allocations: 425 kB / 0.4987 GB, free: 13.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2497, allocations: 8 kB / 0.4987 GB, free: 13.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006068/0.2503, allocations: 392.8 kB / 0.4991 GB, free: 12.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2503, allocations: 11.94 kB / 0.4991 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.2504, allocations: 8 kB / 0.4991 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.2504, allocations: 12.75 kB / 0.4991 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.2507, allocations: 111.8 kB / 0.4992 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.2507, allocations: 19.94 kB / 0.4993 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.251, allocations: 47.53 kB / 0.4993 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.251, allocations: 31.98 kB / 0.4993 GB, free: 12.72 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * 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.0001398/0.2512, allocations: 153.6 kB / 0.4995 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.2513, allocations: 31.8 kB / 0.4995 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.2523, allocations: 0.7827 MB / 0.5003 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.2523, allocations: 7.984 kB / 0.5003 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.2523, allocations: 224 / 0.5003 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2523, allocations: 11.94 kB / 0.5003 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.2534, allocations: 1.211 MB / 0.5015 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.2534, allocations: 8 kB / 0.5015 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.2535, allocations: 35.97 kB / 0.5015 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.2536, allocations: 7.938 kB / 0.5015 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.2536, allocations: 12.03 kB / 0.5015 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.2536, allocations: 4 kB / 0.5016 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.2536, allocations: 7.984 kB / 0.5016 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.254, allocations: 367.4 kB / 0.5019 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.2541, allocations: 104.8 kB / 0.502 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/0.2542, allocations: 47.31 kB / 0.5021 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.2544, allocations: 15.98 kB / 0.5021 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.2544, allocations: 23.92 kB / 0.5021 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.2545, allocations: 8 kB / 0.5021 GB, free: 9.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003023/0.2548, allocations: 294.9 kB / 0.5024 GB, free: 9.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2548, allocations: 0 / 0.5024 GB, free: 9.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001482/0.2563, allocations: 411.6 kB / 0.5028 GB, free: 8.957 MB / 398.1 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001291/0.2576, allocations: 0.6391 MB / 0.5034 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004139/0.258, allocations: 233.5 kB / 0.5036 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.258, allocations: 0 / 0.5036 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.976e-05/0.2581, allocations: 83.84 kB / 0.5037 GB, free: 7.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007045/0.2588, allocations: 123.2 kB / 0.5038 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.742/2.001, allocations: 0.5791 GB / 1.083 GB, free: 167.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/2.001, allocations: 0.8092 MB / 1.084 GB, free: 166.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005826/2.002, allocations: 165.6 kB / 1.084 GB, free: 166.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.931e-05/2.002, allocations: 36.8 kB / 1.084 GB, free: 166.3 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/2.002, allocations: 1.281 kB / 1.084 GB, free: 166.3 MB / 494.1 MB Notification: Performance of Templates: time 0.01886/2.021, allocations: 14.27 MB / 1.098 GB, free: 156.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches