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.001314/0.001314, allocations: 108.6 kB / 18.45 MB, free: 4.641 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.001235/0.001235, allocations: 179.1 kB / 19.37 MB, free: 3.723 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.301/1.301, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.2014/0.2014, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001242, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2962, allocations: 60.83 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005002/0.3012, allocations: 4.957 MB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004605/0.3058, allocations: 4.561 MB / 0.5289 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.306, allocations: 1.375 kB / 0.5289 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.3063, allocations: 54.62 kB / 0.5289 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.3079, allocations: 0.6581 MB / 0.5296 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.3082, allocations: 158.2 kB / 0.5297 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.3087, allocations: 367.2 kB / 0.5301 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.3088, allocations: 9.938 kB / 0.5301 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.309, allocations: 161.6 kB / 0.5303 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.3092, allocations: 121.2 kB / 0.5304 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.3092, allocations: 7.625 kB / 0.5304 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007166/0.3099, allocations: 333.9 kB / 0.5307 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.31, allocations: 58.14 kB / 0.5308 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.3101, allocations: 102.6 kB / 0.5308 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006004/0.3107, allocations: 418.1 kB / 0.5312 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3108, allocations: 0 / 0.5312 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3108, allocations: 0 / 0.5312 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3108, allocations: 0 / 0.5312 GB, free: 11.36 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.0008901/0.3117, allocations: 0.5805 MB / 0.5318 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3117, allocations: 13.28 kB / 0.5318 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.3119, allocations: 28.42 kB / 0.5319 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.3122, allocations: 229.4 kB / 0.5321 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.3123, allocations: 119.9 kB / 0.5322 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.3124, allocations: 21.94 kB / 0.5322 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.3129, allocations: 335.9 kB / 0.5325 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3129, allocations: 5 kB / 0.5325 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.313, allocations: 11.22 kB / 0.5325 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.313, allocations: 6.375 kB / 0.5326 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007646/0.3138, allocations: 0.7326 MB / 0.5333 GB, free: 9.852 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.001165/0.3149, allocations: 1.243 MB / 0.5345 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.3153, allocations: 161.2 kB / 0.5346 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3154, allocations: 71.33 kB / 0.5347 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001872/0.3173, allocations: 2.657 MB / 0.5373 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.3173, allocations: 36.81 kB / 0.5373 GB, free: 5.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.3173, allocations: 3.938 kB / 0.5373 GB, free: 5.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005834/0.3179, allocations: 216.5 kB / 0.5375 GB, free: 5.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.3179, allocations: 58.16 kB / 0.5376 GB, free: 5.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.3181, allocations: 221 kB / 0.5378 GB, free: 5.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3181, allocations: 31.09 kB / 0.5378 GB, free: 5.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3182, allocations: 208.6 kB / 0.538 GB, free: 4.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.3183, allocations: 59.66 kB / 0.5381 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.3184, allocations: 82.12 kB / 0.5382 GB, free: 4.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.3185, allocations: 326.8 kB / 0.5385 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.238e-05/0.3186, allocations: 54.3 kB / 0.5385 GB, free: 4.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.3188, allocations: 330.8 kB / 0.5389 GB, free: 4.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.3191, allocations: 422.3 kB / 0.5393 GB, free: 3.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3192, allocations: 3.062 kB / 0.5393 GB, free: 3.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005064/0.3197, allocations: 375.9 kB / 0.5396 GB, free: 3.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3197, allocations: 10.22 kB / 0.5396 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.3197, allocations: 13.77 kB / 0.5396 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.3197, allocations: 12.78 kB / 0.5396 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.3201, allocations: 112.6 kB / 0.5398 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.3201, allocations: 16.38 kB / 0.5398 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.3203, allocations: 22.2 kB / 0.5398 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.3203, allocations: 27.91 kB / 0.5398 GB, free: 3.316 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.0001121/0.3205, allocations: 151.2 kB / 0.54 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.3205, allocations: 18.09 kB / 0.54 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.3208, allocations: 163.6 kB / 0.5401 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.3208, allocations: 4.875 kB / 0.5401 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3208, allocations: 1.156 kB / 0.5401 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3209, allocations: 0 / 0.5401 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.3213, allocations: 432 kB / 0.5406 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3214, allocations: 1.094 kB / 0.5406 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.3215, allocations: 36.48 kB / 0.5406 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3215, allocations: 13.02 kB / 0.5406 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.3216, allocations: 1.125 kB / 0.5406 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3216, allocations: 1.219 kB / 0.5406 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3216, allocations: 1.125 kB / 0.5406 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.3218, allocations: 211.7 kB / 0.5408 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.513e-05/0.3219, allocations: 100.6 kB / 0.5409 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.3219, allocations: 14.11 kB / 0.5409 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.3221, allocations: 8.344 kB / 0.5409 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.3221, allocations: 12.23 kB / 0.5409 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.3222, allocations: 9.406 kB / 0.5409 GB, free: 2.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.3223, allocations: 149.2 kB / 0.5411 GB, free: 2.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3223, allocations: 0 / 0.5411 GB, free: 2.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00047/0.3227, allocations: 101.3 kB / 0.5412 GB, free: 2.18 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.0002481/0.323, allocations: 177.8 kB / 0.5414 GB, free: 2.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002802/0.3233, allocations: 176.8 kB / 0.5415 GB, free: 1.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3233, allocations: 4.688 kB / 0.5415 GB, free: 1.973 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.803e-05/0.3234, allocations: 40.64 kB / 0.5416 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.3238, allocations: 45.06 kB / 0.5416 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008233/0.3246, allocations: 0.5193 MB / 0.5421 GB, free: 1.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.3249, allocations: 0.7285 MB / 0.5428 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.325, allocations: 28.62 kB / 0.5429 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.325, allocations: 0 / 0.5429 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of Templates: time 0.005301/0.3303, allocations: 3.469 MB / 0.5462 GB, free: 15.03 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