Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 201.3 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 226.6 MB / 243.1 MB, free: 14.28 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007245/0.0007244, allocations: 93.48 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1701/0.1701, allocations: 44.84 MB / 392 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002243/0.0002244, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09069/0.09093, allocations: 62.95 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.183/0.274, allocations: 4.73 MB / 0.5199 GB, free: 9.785 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.2763, allocations: 2.439 MB / 0.5223 GB, free: 8.992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.2764, allocations: 2.25 kB / 0.5223 GB, free: 8.992 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.2766, allocations: 26.02 kB / 0.5224 GB, free: 8.98 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002158/0.2787, allocations: 0.8896 MB / 0.5232 GB, free: 8.594 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.279, allocations: 138.9 kB / 0.5234 GB, free: 8.527 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.2794, allocations: 301 kB / 0.5236 GB, free: 8.398 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.001e-05/0.2795, allocations: 12.95 kB / 0.5237 GB, free: 8.395 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.2806, allocations: 0.7051 MB / 0.5243 GB, free: 8.301 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.2809, allocations: 157.2 kB / 0.5245 GB, free: 8.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.2809, allocations: 5.531 kB / 0.5245 GB, free: 8.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.2829, allocations: 1.163 MB / 0.5256 GB, free: 8.039 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.283, allocations: 36.09 kB / 0.5257 GB, free: 8.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.2831, allocations: 53.02 kB / 0.5257 GB, free: 7.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006213/0.2837, allocations: 369.7 kB / 0.5261 GB, free: 7.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2837, allocations: 0 / 0.5261 GB, free: 7.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2837, allocations: 1 kB / 0.5261 GB, free: 7.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2837, allocations: 0 / 0.5261 GB, free: 7.887 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007831/0.2845, allocations: 0.5324 MB / 0.5266 GB, free: 7.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2846, allocations: 8.406 kB / 0.5266 GB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003944/0.285, allocations: 43.83 kB / 0.5266 GB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.2851, allocations: 210.7 kB / 0.5268 GB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2852, allocations: 10.84 kB / 0.5269 GB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.2852, allocations: 13.91 kB / 0.5269 GB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.2856, allocations: 248 kB / 0.5271 GB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2856, allocations: 3.938 kB / 0.5271 GB, free: 7.023 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.2856, allocations: 8.656 kB / 0.5271 GB, free: 7.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2856, allocations: 3.938 kB / 0.5271 GB, free: 7.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.286, allocations: 231.2 kB / 0.5273 GB, free: 6.969 MB / 346.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.0009641/0.2869, allocations: 1.371 MB / 0.5287 GB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.2871, allocations: 81.23 kB / 0.5288 GB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.191e-05/0.2872, allocations: 41.8 kB / 0.5288 GB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.2882, allocations: 2.062 MB / 0.5308 GB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.2884, allocations: 166.4 kB / 0.531 GB, free: 3.129 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.2884, allocations: 0 / 0.531 GB, free: 3.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008095/0.2892, allocations: 355.4 kB / 0.5313 GB, free: 2.941 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.2893, allocations: 262.1 kB / 0.5316 GB, free: 2.629 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.2894, allocations: 153.8 kB / 0.5317 GB, free: 2.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2894, allocations: 32.72 kB / 0.5317 GB, free: 2.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.2895, allocations: 145.3 kB / 0.5319 GB, free: 2.344 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.2895, allocations: 73.48 kB / 0.5319 GB, free: 2.285 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.2895, allocations: 6 kB / 0.5319 GB, free: 2.281 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.2896, allocations: 325.8 kB / 0.5323 GB, free: 1.961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.2897, allocations: 39.03 kB / 0.5323 GB, free: 1.953 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.2898, allocations: 182.7 kB / 0.5325 GB, free: 1.754 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.2899, allocations: 70.97 kB / 0.5325 GB, free: 1.723 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2899, allocations: 4.984 kB / 0.5325 GB, free: 1.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003461/0.2903, allocations: 260.8 kB / 0.5328 GB, free: 1.602 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2903, allocations: 9.203 kB / 0.5328 GB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2903, allocations: 4.812 kB / 0.5328 GB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.2903, allocations: 11.62 kB / 0.5328 GB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.2907, allocations: 96.53 kB / 0.5329 GB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001938/0.291, allocations: 0.5941 MB / 0.5335 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.2911, allocations: 15.66 kB / 0.5335 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.2911, allocations: 23.84 kB / 0.5335 GB, free: 0.9805 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.158e-05/0.2912, allocations: 138.7 kB / 0.5337 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.2913, allocations: 13.97 kB / 0.5337 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.2917, allocations: 238.3 kB / 0.5339 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2917, allocations: 4.844 kB / 0.5339 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2917, allocations: 6.328 kB / 0.5339 GB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2917, allocations: 0.5625 kB / 0.5339 GB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.292, allocations: 449.5 kB / 0.5343 GB, free: 232 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.292, allocations: 6.047 kB / 0.5343 GB, free: 228 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.2924, allocations: 52.48 kB / 0.5344 GB, free: 224 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2924, allocations: 1.312 kB / 0.5344 GB, free: 224 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2924, allocations: 6.984 kB / 0.5344 GB, free: 220 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002571/0.2926, allocations: 0.5881 MB / 0.535 GB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2927, allocations: 0.8594 kB / 0.535 GB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.2929, allocations: 146.7 kB / 0.5351 GB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.293, allocations: 116.1 kB / 0.5352 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.293, allocations: 6.984 kB / 0.5352 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.2932, allocations: 3.844 kB / 0.5352 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.2932, allocations: 12.86 kB / 0.5353 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.2932, allocations: 11.41 kB / 0.5353 GB, free: 15.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.2933, allocations: 134 kB / 0.5354 GB, free: 15.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2933, allocations: 7.875 kB / 0.5354 GB, free: 15.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005373/0.2939, allocations: 137.8 kB / 0.5355 GB, free: 15.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000589/0.2945, allocations: 265.6 kB / 0.5358 GB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004272/0.2949, allocations: 154.5 kB / 0.5359 GB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2949, allocations: 4.062 kB / 0.5359 GB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.2951, allocations: 53.73 kB / 0.536 GB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.2954, allocations: 31.31 kB / 0.536 GB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.2969, allocations: 0.8863 MB / 0.5369 GB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.2972, allocations: 0.7157 MB / 0.5376 GB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-05/0.2973, allocations: 40.88 kB / 0.5376 GB, free: 13.84 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2973, allocations: 0 / 0.5376 GB, free: 13.84 MB / 362.7 MB Notification: Performance of Templates: time 0.0074/0.3047, allocations: 4.89 MB / 0.5424 GB, free: 12.49 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches