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.001357/0.001357, allocations: 113.2 kB / 17.78 MB, free: 5.242 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.00138/0.00138, allocations: 185 kB / 18.71 MB, free: 4.32 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.49/1.49, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2084/0.2084, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.395, allocations: 60.83 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.008528/0.4036, allocations: 4.959 MB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009519/0.4131, allocations: 4.57 MB / 0.5282 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.4135, allocations: 1.375 kB / 0.5282 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.4141, allocations: 50.25 kB / 0.5283 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003794/0.4179, allocations: 0.6623 MB / 0.5289 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007917/0.4187, allocations: 153.6 kB / 0.5291 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009032/0.4196, allocations: 367.2 kB / 0.5294 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.272e-05/0.4197, allocations: 14.16 kB / 0.5294 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004633/0.4202, allocations: 153.9 kB / 0.5296 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.4206, allocations: 128.5 kB / 0.5297 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.4207, allocations: 7.781 kB / 0.5297 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.4221, allocations: 336.5 kB / 0.53 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.4223, allocations: 44.14 kB / 0.5301 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.4225, allocations: 106.9 kB / 0.5302 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.4238, allocations: 416.7 kB / 0.5306 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4238, allocations: 1.281 kB / 0.5306 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4239, allocations: 0 / 0.5306 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.4239, allocations: 4 kB / 0.5306 GB, free: 11.35 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.001721/0.4256, allocations: 0.5873 MB / 0.5312 GB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4257, allocations: 8.406 kB / 0.5312 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.426, allocations: 24.84 kB / 0.5312 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.4265, allocations: 229.8 kB / 0.5314 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.4267, allocations: 126.5 kB / 0.5315 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.4268, allocations: 30.84 kB / 0.5316 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008915/0.4277, allocations: 320 kB / 0.5319 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.4278, allocations: 3.938 kB / 0.5319 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.922e-05/0.4278, allocations: 11.47 kB / 0.5319 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.4279, allocations: 10.72 kB / 0.5319 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.4294, allocations: 0.7372 MB / 0.5326 GB, free: 9.844 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.002539/0.432, allocations: 1.247 MB / 0.5338 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.4326, allocations: 148.5 kB / 0.534 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.4328, allocations: 76.33 kB / 0.534 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004042/0.4369, allocations: 2.659 MB / 0.5366 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.28e-05/0.437, allocations: 45.41 kB / 0.5367 GB, free: 5.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 4.228e-06/0.437, allocations: 0 / 0.5367 GB, free: 5.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001261/0.4383, allocations: 216.7 kB / 0.5369 GB, free: 5.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.4383, allocations: 56.28 kB / 0.5369 GB, free: 5.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.4387, allocations: 213.7 kB / 0.5372 GB, free: 5.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.4387, allocations: 35.64 kB / 0.5372 GB, free: 5.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.439, allocations: 208.5 kB / 0.5374 GB, free: 4.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.691e-05/0.4391, allocations: 51.58 kB / 0.5374 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.4393, allocations: 90.47 kB / 0.5375 GB, free: 4.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.4395, allocations: 326.4 kB / 0.5378 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.4397, allocations: 50.64 kB / 0.5379 GB, free: 4.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.4402, allocations: 331.9 kB / 0.5382 GB, free: 4.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007942/0.441, allocations: 417.3 kB / 0.5386 GB, free: 3.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.441, allocations: 7.5 kB / 0.5386 GB, free: 3.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001131/0.4422, allocations: 372.9 kB / 0.539 GB, free: 3.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.4422, allocations: 10.56 kB / 0.539 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.4422, allocations: 7.344 kB / 0.539 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/0.4423, allocations: 18.28 kB / 0.539 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/0.443, allocations: 111.4 kB / 0.5391 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-05/0.443, allocations: 16.91 kB / 0.5391 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.4435, allocations: 18.8 kB / 0.5391 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/0.4436, allocations: 26.56 kB / 0.5392 GB, free: 3.32 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.0002445/0.4438, allocations: 151.2 kB / 0.5393 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.444, allocations: 18.66 kB / 0.5393 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005577/0.4445, allocations: 162.7 kB / 0.5395 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.4446, allocations: 5.969 kB / 0.5395 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4446, allocations: 0 / 0.5395 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.4446, allocations: 3.984 kB / 0.5395 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.4457, allocations: 436.3 kB / 0.5399 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4458, allocations: 1.188 kB / 0.5399 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.4461, allocations: 39.69 kB / 0.5399 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.4461, allocations: 1.094 kB / 0.5399 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.4461, allocations: 10.06 kB / 0.5399 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.4462, allocations: 1.125 kB / 0.5399 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.4462, allocations: 5.094 kB / 0.54 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.4467, allocations: 215.5 kB / 0.5402 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.4469, allocations: 105.1 kB / 0.5403 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/0.447, allocations: 9.125 kB / 0.5403 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.4473, allocations: 8.453 kB / 0.5403 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.4474, allocations: 8.734 kB / 0.5403 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.4475, allocations: 12.77 kB / 0.5403 GB, free: 2.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002605/0.4477, allocations: 149.9 kB / 0.5404 GB, free: 2.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4477, allocations: 0 / 0.5404 GB, free: 2.191 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009901/0.4487, allocations: 105.6 kB / 0.5405 GB, free: 2.164 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.0005439/0.4493, allocations: 165.2 kB / 0.5407 GB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006479/0.45, allocations: 179.5 kB / 0.5409 GB, free: 1.969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.45, allocations: 0.9688 kB / 0.5409 GB, free: 1.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.4501, allocations: 36.27 kB / 0.5409 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.0007739/0.4509, allocations: 54.11 kB / 0.541 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.4527, allocations: 495.2 kB / 0.5414 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.4532, allocations: 0.7249 MB / 0.5421 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003731/0.4536, allocations: 61.94 kB / 0.5422 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.4537, allocations: 33.39 kB / 0.5422 GB, free: 0.832 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4538, allocations: 0 / 0.5422 GB, free: 0.832 MB / 398.1 MB Notification: Performance of Templates: time 0.01414/0.4679, allocations: 3.435 MB / 0.5456 GB, free: 15.07 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/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