Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009843/0.0009844, allocations: 110.2 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3376/0.3376, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3243, allocations: 62.02 MB / 0.5152 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005425/0.3297, allocations: 5.028 MB / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003678/0.3335, allocations: 4.596 MB / 0.5246 GB, free: 30.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.3336, allocations: 4 kB / 0.5246 GB, free: 30.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.3339, allocations: 44.16 kB / 0.5246 GB, free: 30.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.3355, allocations: 0.6051 MB / 0.5252 GB, free: 30.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.3358, allocations: 154.1 kB / 0.5253 GB, free: 30.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.3363, allocations: 439.8 kB / 0.5258 GB, free: 30.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.3364, allocations: 10.34 kB / 0.5258 GB, free: 30.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.3366, allocations: 153.7 kB / 0.5259 GB, free: 30.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.3367, allocations: 135.2 kB / 0.526 GB, free: 30.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.3368, allocations: 5.438 kB / 0.526 GB, free: 30.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008648/0.3376, allocations: 360.2 kB / 0.5264 GB, free: 30 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.3377, allocations: 46.05 kB / 0.5264 GB, free: 29.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.3378, allocations: 110.3 kB / 0.5265 GB, free: 29.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.3384, allocations: 430.9 kB / 0.527 GB, free: 29.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3384, allocations: 3.938 kB / 0.527 GB, free: 29.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.3384, allocations: 0 / 0.527 GB, free: 29.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3384, allocations: 4 kB / 0.527 GB, free: 29.78 MB / 378.7 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.0008764/0.3393, allocations: 0.5864 MB / 0.5275 GB, free: 29.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3393, allocations: 8.5 kB / 0.5275 GB, free: 29.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.3395, allocations: 25.72 kB / 0.5276 GB, free: 29.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.3398, allocations: 232.8 kB / 0.5278 GB, free: 29.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.683e-05/0.3399, allocations: 127 kB / 0.5279 GB, free: 28.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.3399, allocations: 22.22 kB / 0.5279 GB, free: 28.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.3403, allocations: 334.6 kB / 0.5282 GB, free: 28.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3403, allocations: 0 / 0.5282 GB, free: 28.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.3404, allocations: 13.09 kB / 0.5283 GB, free: 28.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.3404, allocations: 9.531 kB / 0.5283 GB, free: 28.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006172/0.341, allocations: 0.7358 MB / 0.529 GB, free: 28.59 MB / 378.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.0009625/0.342, allocations: 1.245 MB / 0.5302 GB, free: 27.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.3423, allocations: 149.2 kB / 0.5303 GB, free: 27.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.3424, allocations: 84.3 kB / 0.5304 GB, free: 27.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/0.344, allocations: 2.65 MB / 0.533 GB, free: 24.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.344, allocations: 41.66 kB / 0.5331 GB, free: 24.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/0.344, allocations: 0 / 0.5331 GB, free: 24.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006192/0.3446, allocations: 219.9 kB / 0.5333 GB, free: 24.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.3447, allocations: 58.22 kB / 0.5333 GB, free: 24.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.3448, allocations: 216.6 kB / 0.5335 GB, free: 24.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.3449, allocations: 25.7 kB / 0.5336 GB, free: 24.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.345, allocations: 214.5 kB / 0.5338 GB, free: 23.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.345, allocations: 55.02 kB / 0.5338 GB, free: 23.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.242e-05/0.3451, allocations: 87.09 kB / 0.5339 GB, free: 23.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.594e-05/0.3451, allocations: 331.2 kB / 0.5342 GB, free: 23.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/0.3452, allocations: 48.05 kB / 0.5343 GB, free: 23.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.3454, allocations: 311.8 kB / 0.5345 GB, free: 23.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.3457, allocations: 412.6 kB / 0.5349 GB, free: 22.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3457, allocations: 2.812 kB / 0.5349 GB, free: 22.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000453/0.3462, allocations: 370.5 kB / 0.5353 GB, free: 22.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3462, allocations: 12.53 kB / 0.5353 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3462, allocations: 12.08 kB / 0.5353 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3462, allocations: 11.69 kB / 0.5353 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.3466, allocations: 114.5 kB / 0.5354 GB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.3466, allocations: 20.27 kB / 0.5355 GB, free: 22.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.3468, allocations: 23 kB / 0.5355 GB, free: 22.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.3468, allocations: 26.5 kB / 0.5355 GB, free: 22.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 9.227e-05/0.3469, allocations: 152.6 kB / 0.5357 GB, free: 22.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.347, allocations: 16.84 kB / 0.5357 GB, free: 22.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.3473, allocations: 164.8 kB / 0.5358 GB, free: 22.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.3473, allocations: 3.938 kB / 0.5358 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3473, allocations: 3.281 kB / 0.5358 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3473, allocations: 0 / 0.5358 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.3477, allocations: 435.6 kB / 0.5363 GB, free: 21.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3477, allocations: 0 / 0.5363 GB, free: 21.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.3479, allocations: 37.64 kB / 0.5363 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3479, allocations: 2.125 kB / 0.5363 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3479, allocations: 7.062 kB / 0.5363 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3479, allocations: 0 / 0.5363 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3479, allocations: 0 / 0.5363 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.3483, allocations: 0.8038 MB / 0.5371 GB, free: 21.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.3484, allocations: 103.4 kB / 0.5372 GB, free: 21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.3484, allocations: 6.531 kB / 0.5372 GB, free: 21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.3486, allocations: 12.22 kB / 0.5372 GB, free: 21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.3486, allocations: 5.75 kB / 0.5372 GB, free: 21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3487, allocations: 5.281 kB / 0.5372 GB, free: 21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9e-05/0.3488, allocations: 154.5 kB / 0.5374 GB, free: 20.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3488, allocations: 7.938 kB / 0.5374 GB, free: 20.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005452/0.3493, allocations: 108 kB / 0.5375 GB, free: 20.86 MB / 378.7 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.0002962/0.3496, allocations: 171.2 kB / 0.5376 GB, free: 20.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.3499, allocations: 173.4 kB / 0.5378 GB, free: 20.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3499, allocations: 0 / 0.5378 GB, free: 20.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.809e-05/0.3499, allocations: 41.25 kB / 0.5378 GB, free: 20.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.3504, allocations: 48.02 kB / 0.5379 GB, free: 20.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008264/0.3512, allocations: 0.7092 MB / 0.5386 GB, free: 20.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.3514, allocations: 0.7342 MB / 0.5393 GB, free: 19.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002762/0.3517, allocations: 61.59 kB / 0.5393 GB, free: 19.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.3517, allocations: 31.31 kB / 0.5394 GB, free: 19.42 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3517, allocations: 0 / 0.5394 GB, free: 19.42 MB / 378.7 MB Notification: Performance of Templates: time 0.006641/0.3584, allocations: 3.422 MB / 0.5427 GB, free: 19.04 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches