Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.00143, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001555/0.001556, allocations: 206 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.09 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 75.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3306, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006087/0.3367, allocations: 4.606 MB / 0.5362 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004664/0.3415, allocations: 4.007 MB / 0.5401 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.3416, allocations: 1.375 kB / 0.5401 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.3421, allocations: 58.95 kB / 0.5402 GB, free: 6.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.344, allocations: 0.723 MB / 0.5409 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.3443, allocations: 132.2 kB / 0.541 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.3449, allocations: 378.7 kB / 0.5413 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.83e-05/0.345, allocations: 14.36 kB / 0.5414 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.3452, allocations: 149.3 kB / 0.5415 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.3454, allocations: 142 kB / 0.5416 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.3455, allocations: 8.562 kB / 0.5416 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009694/0.3464, allocations: 424.8 kB / 0.5421 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.254e-05/0.3465, allocations: 55.39 kB / 0.5421 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.3467, allocations: 104.8 kB / 0.5422 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007393/0.3474, allocations: 466 kB / 0.5426 GB, free: 5.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3474, allocations: 3.938 kB / 0.5427 GB, free: 5.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3474, allocations: 1.031 kB / 0.5427 GB, free: 5.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.3474, allocations: 4 kB / 0.5427 GB, free: 5.035 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.00113/0.3486, allocations: 0.5948 MB / 0.5432 GB, free: 4.508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3486, allocations: 8.938 kB / 0.5432 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.3488, allocations: 28.5 kB / 0.5433 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.3491, allocations: 228 kB / 0.5435 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.3492, allocations: 123.6 kB / 0.5436 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.3493, allocations: 23 kB / 0.5436 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.3498, allocations: 326.8 kB / 0.5439 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3498, allocations: 1.219 kB / 0.5439 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.3498, allocations: 11.22 kB / 0.544 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.3499, allocations: 9.578 kB / 0.544 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000794/0.3507, allocations: 0.7359 MB / 0.5447 GB, free: 3.531 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.001303/0.352, allocations: 1.301 MB / 0.546 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.3523, allocations: 169 kB / 0.5461 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.3525, allocations: 95 kB / 0.5462 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002346/0.3548, allocations: 2.805 MB / 0.5489 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.3549, allocations: 32.97 kB / 0.549 GB, free: 14.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.984e-06/0.3549, allocations: 0 / 0.549 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002872/0.3552, allocations: 126.8 kB / 0.5491 GB, free: 14.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.3552, allocations: 52.56 kB / 0.5491 GB, free: 14.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.3554, allocations: 216.4 kB / 0.5494 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.3555, allocations: 26.58 kB / 0.5494 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.3556, allocations: 221.9 kB / 0.5496 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.3556, allocations: 42.02 kB / 0.5496 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.925e-05/0.3557, allocations: 82.22 kB / 0.5497 GB, free: 14.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3558, allocations: 331 kB / 0.55 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.3559, allocations: 52.72 kB / 0.5501 GB, free: 13.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.3562, allocations: 344.9 kB / 0.5504 GB, free: 13.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.3565, allocations: 443.3 kB / 0.5508 GB, free: 12.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.3566, allocations: 4 kB / 0.5508 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000517/0.3571, allocations: 385.2 kB / 0.5512 GB, free: 12.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3571, allocations: 11.94 kB / 0.5512 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.3571, allocations: 12 kB / 0.5512 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.3572, allocations: 19.88 kB / 0.5512 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.3574, allocations: 99.83 kB / 0.5513 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.3574, allocations: 20.52 kB / 0.5514 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.3577, allocations: 55.44 kB / 0.5514 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.3577, allocations: 28 kB / 0.5514 GB, free: 12.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001367/0.3578, allocations: 153.6 kB / 0.5516 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.3579, allocations: 19.81 kB / 0.5516 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.3582, allocations: 144.5 kB / 0.5517 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.3582, allocations: 3.938 kB / 0.5517 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3582, allocations: 48 / 0.5517 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3582, allocations: 3.984 kB / 0.5517 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.3586, allocations: 408.8 kB / 0.5521 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3586, allocations: 8.078 kB / 0.5521 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.3587, allocations: 12 kB / 0.5522 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3587, allocations: 4 kB / 0.5522 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.3587, allocations: 0 / 0.5522 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3587, allocations: 3.938 kB / 0.5522 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3587, allocations: 4 kB / 0.5522 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.3589, allocations: 209.8 kB / 0.5524 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.359, allocations: 100.8 kB / 0.5525 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.359, allocations: 3.938 kB / 0.5525 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.3592, allocations: 4 kB / 0.5525 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.3592, allocations: 15.97 kB / 0.5525 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3592, allocations: 8.062 kB / 0.5525 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.3594, allocations: 156.5 kB / 0.5526 GB, free: 10.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3594, allocations: 4 kB / 0.5526 GB, free: 10.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004859/0.3599, allocations: 92 kB / 0.5527 GB, free: 10.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0002637/0.3601, allocations: 155.1 kB / 0.5529 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.3604, allocations: 169.1 kB / 0.553 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3604, allocations: 3.938 kB / 0.553 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.874e-05/0.3605, allocations: 29.48 kB / 0.5531 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.3609, allocations: 52.45 kB / 0.5531 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009119/0.3618, allocations: 0.5518 MB / 0.5537 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.3621, allocations: 0.7245 MB / 0.5544 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.3622, allocations: 31.42 kB / 0.5544 GB, free: 9.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3622, allocations: 0 / 0.5544 GB, free: 9.09 MB / 414.1 MB Notification: Performance of Templates: time 0.005247/0.3674, allocations: 3.35 MB / 0.5577 GB, free: 5.758 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches