Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 111.3 kB / 18.45 MB, free: 4.621 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.001085/0.001085, allocations: 186.2 kB / 19.38 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1992/0.1992, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3046, allocations: 60.82 MB / 0.5196 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006738/0.3113, allocations: 4.968 MB / 0.5244 GB, free: 288 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005/0.3164, allocations: 4.557 MB / 0.5289 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.3166, allocations: 1.375 kB / 0.5289 GB, free: 13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.317, allocations: 57.16 kB / 0.529 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.3192, allocations: 0.6545 MB / 0.5296 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.3196, allocations: 165.8 kB / 0.5298 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000676/0.3203, allocations: 366.5 kB / 0.5301 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.662e-05/0.3204, allocations: 14.78 kB / 0.5301 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.3207, allocations: 149.3 kB / 0.5303 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.321, allocations: 128.6 kB / 0.5304 GB, free: 12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.921e-05/0.321, allocations: 8.938 kB / 0.5304 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009917/0.322, allocations: 336.6 kB / 0.5307 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.911e-05/0.3221, allocations: 42.77 kB / 0.5307 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.3223, allocations: 110.4 kB / 0.5309 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009495/0.3233, allocations: 417.7 kB / 0.5313 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3233, allocations: 1.406 kB / 0.5313 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3233, allocations: 4 kB / 0.5313 GB, free: 11.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3233, allocations: 0 / 0.5313 GB, free: 11.54 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001131/0.3244, allocations: 0.5797 MB / 0.5318 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3245, allocations: 9.625 kB / 0.5318 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.3247, allocations: 24.53 kB / 0.5319 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.3251, allocations: 233.6 kB / 0.5321 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.3252, allocations: 127.3 kB / 0.5322 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.3253, allocations: 22.59 kB / 0.5322 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.3258, allocations: 328.1 kB / 0.5325 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3258, allocations: 4 kB / 0.5325 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.3259, allocations: 11.5 kB / 0.5326 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.3259, allocations: 6.812 kB / 0.5326 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008243/0.3267, allocations: 0.7406 MB / 0.5333 GB, free: 10.04 MB / 398.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.001439/0.3282, allocations: 1.243 MB / 0.5345 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.3285, allocations: 148.7 kB / 0.5346 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3286, allocations: 76.45 kB / 0.5347 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002406/0.3311, allocations: 2.659 MB / 0.5373 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.3311, allocations: 37.16 kB / 0.5373 GB, free: 5.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.3311, allocations: 0 / 0.5373 GB, free: 5.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007357/0.3319, allocations: 221.2 kB / 0.5376 GB, free: 5.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.3319, allocations: 56.69 kB / 0.5376 GB, free: 5.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.3321, allocations: 213.6 kB / 0.5378 GB, free: 5.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3322, allocations: 31.02 kB / 0.5378 GB, free: 5.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.3323, allocations: 209.5 kB / 0.538 GB, free: 5.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.3324, allocations: 54.8 kB / 0.5381 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.3325, allocations: 86.31 kB / 0.5382 GB, free: 4.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3326, allocations: 330.9 kB / 0.5385 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.845e-05/0.3328, allocations: 46.62 kB / 0.5385 GB, free: 4.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.3331, allocations: 324 kB / 0.5388 GB, free: 4.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.3335, allocations: 441.4 kB / 0.5393 GB, free: 3.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.3335, allocations: 2.281 kB / 0.5393 GB, free: 3.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006426/0.3342, allocations: 364.7 kB / 0.5396 GB, free: 3.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3342, allocations: 9.812 kB / 0.5396 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.3342, allocations: 18.02 kB / 0.5396 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.3343, allocations: 12.34 kB / 0.5397 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.3347, allocations: 116.9 kB / 0.5398 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.3347, allocations: 20.58 kB / 0.5398 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.335, allocations: 13.94 kB / 0.5398 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.335, allocations: 27.84 kB / 0.5398 GB, free: 3.508 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001365/0.3352, allocations: 143.7 kB / 0.54 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.3352, allocations: 17.19 kB / 0.54 GB, free: 3.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.3356, allocations: 166.3 kB / 0.5401 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.3356, allocations: 10.73 kB / 0.5401 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3356, allocations: 0 / 0.5401 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3356, allocations: 5.156 kB / 0.5402 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.3362, allocations: 435.8 kB / 0.5406 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3363, allocations: 1.156 kB / 0.5406 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.3364, allocations: 35.44 kB / 0.5406 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.3365, allocations: 1.281 kB / 0.5406 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3365, allocations: 9.062 kB / 0.5406 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3365, allocations: 1.125 kB / 0.5406 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3365, allocations: 1.219 kB / 0.5406 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.3367, allocations: 211.7 kB / 0.5408 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3369, allocations: 109 kB / 0.5409 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.3369, allocations: 6.406 kB / 0.5409 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.3371, allocations: 7.5 kB / 0.5409 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.3372, allocations: 9.047 kB / 0.5409 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.3372, allocations: 9.266 kB / 0.5409 GB, free: 2.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.3373, allocations: 153.8 kB / 0.5411 GB, free: 2.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3373, allocations: 0 / 0.5411 GB, free: 2.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005391/0.3379, allocations: 101 kB / 0.5412 GB, free: 2.371 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.00031/0.3382, allocations: 165.5 kB / 0.5414 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003474/0.3385, allocations: 179.7 kB / 0.5415 GB, free: 2.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3386, allocations: 0 / 0.5415 GB, free: 2.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.214e-05/0.3386, allocations: 35.83 kB / 0.5416 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.3391, allocations: 59.83 kB / 0.5416 GB, free: 2.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.3402, allocations: 0.507 MB / 0.5421 GB, free: 1.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3405, allocations: 0.7245 MB / 0.5428 GB, free: 1.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.718e-05/0.3406, allocations: 40.77 kB / 0.5429 GB, free: 1.043 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3406, allocations: 0 / 0.5429 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Templates: time 0.006812/0.3474, allocations: 3.466 MB / 0.5462 GB, free: 15.23 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches