Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 109.3 kB / 18.45 MB, free: 4.625 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.001019/0.001019, allocations: 185.1 kB / 19.37 MB, free: 3.707 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.289/1.289, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.1985/0.1985, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 63.89 kB / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3353, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004665/0.34, allocations: 4.537 MB / 0.524 GB, free: 340 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004148/0.3442, allocations: 4.008 MB / 0.5279 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.3443, allocations: 1.188 kB / 0.5279 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.3446, allocations: 53.38 kB / 0.528 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.3464, allocations: 0.7233 MB / 0.5287 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.3467, allocations: 136.9 kB / 0.5288 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004702/0.3472, allocations: 374.7 kB / 0.5292 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.3472, allocations: 13.94 kB / 0.5292 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.3474, allocations: 144.3 kB / 0.5293 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.3476, allocations: 148.4 kB / 0.5295 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.3477, allocations: 6.875 kB / 0.5295 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008814/0.3486, allocations: 421.1 kB / 0.5299 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.417e-05/0.3486, allocations: 59.55 kB / 0.5299 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.3488, allocations: 105.5 kB / 0.53 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007346/0.3495, allocations: 465.6 kB / 0.5305 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3495, allocations: 0 / 0.5305 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3495, allocations: 0 / 0.5305 GB, free: 11.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.3496, allocations: 1.031 kB / 0.5305 GB, free: 11.96 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.001107/0.3507, allocations: 0.6022 MB / 0.5311 GB, free: 11.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3507, allocations: 9.188 kB / 0.5311 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.3509, allocations: 23.75 kB / 0.5311 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.3512, allocations: 233.1 kB / 0.5313 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.3513, allocations: 123.9 kB / 0.5315 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.3514, allocations: 22.69 kB / 0.5315 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/0.3519, allocations: 329.8 kB / 0.5318 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3519, allocations: 1.062 kB / 0.5318 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.3519, allocations: 10.94 kB / 0.5318 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.352, allocations: 8.344 kB / 0.5318 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008191/0.3528, allocations: 0.7306 MB / 0.5325 GB, free: 10.45 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.001374/0.3542, allocations: 1.312 MB / 0.5338 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.3545, allocations: 161.8 kB / 0.534 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.3547, allocations: 86.33 kB / 0.534 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002538/0.3572, allocations: 2.806 MB / 0.5368 GB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.3573, allocations: 39.56 kB / 0.5368 GB, free: 5.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.3573, allocations: 0 / 0.5368 GB, free: 5.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003118/0.3576, allocations: 120 kB / 0.5369 GB, free: 5.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3577, allocations: 52.75 kB / 0.537 GB, free: 5.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.3579, allocations: 218.4 kB / 0.5372 GB, free: 5.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.3579, allocations: 29.7 kB / 0.5372 GB, free: 5.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.3581, allocations: 222.1 kB / 0.5374 GB, free: 5.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.3581, allocations: 42.92 kB / 0.5375 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.3582, allocations: 89.91 kB / 0.5376 GB, free: 5.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3584, allocations: 327.2 kB / 0.5379 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.3584, allocations: 44.53 kB / 0.5379 GB, free: 4.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.3587, allocations: 349.8 kB / 0.5382 GB, free: 4.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.3591, allocations: 442.3 kB / 0.5387 GB, free: 3.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3592, allocations: 3.094 kB / 0.5387 GB, free: 3.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005111/0.3597, allocations: 379.4 kB / 0.539 GB, free: 3.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3597, allocations: 10 kB / 0.539 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.3597, allocations: 10.28 kB / 0.539 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.3598, allocations: 22.56 kB / 0.5391 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.36, allocations: 96.83 kB / 0.5392 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/0.36, allocations: 25.83 kB / 0.5392 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.3603, allocations: 58.25 kB / 0.5392 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.3603, allocations: 28.69 kB / 0.5393 GB, free: 3.66 MB / 398.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.0001792/0.3605, allocations: 151.1 kB / 0.5394 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.3605, allocations: 22.47 kB / 0.5394 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.3608, allocations: 143.7 kB / 0.5396 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.3608, allocations: 6.312 kB / 0.5396 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3608, allocations: 0 / 0.5396 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3608, allocations: 0 / 0.5396 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.3613, allocations: 412.4 kB / 0.54 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3613, allocations: 1.25 kB / 0.54 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.3614, allocations: 14.95 kB / 0.54 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3614, allocations: 1.094 kB / 0.54 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3614, allocations: 6.188 kB / 0.54 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3614, allocations: 1.062 kB / 0.54 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.3614, allocations: 9 kB / 0.54 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3616, allocations: 211.2 kB / 0.5402 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.319e-05/0.3617, allocations: 92.14 kB / 0.5403 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.3617, allocations: 14.48 kB / 0.5403 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.3619, allocations: 6.312 kB / 0.5403 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.3619, allocations: 12.11 kB / 0.5403 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.3619, allocations: 7.828 kB / 0.5403 GB, free: 2.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.3621, allocations: 160.3 kB / 0.5405 GB, free: 2.516 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3621, allocations: 0 / 0.5405 GB, free: 2.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000479/0.3625, allocations: 86.16 kB / 0.5406 GB, free: 2.504 MB / 398.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.0002344/0.3628, allocations: 156.6 kB / 0.5407 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.3631, allocations: 171.3 kB / 0.5409 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3631, allocations: 0.9375 kB / 0.5409 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.3631, allocations: 31.2 kB / 0.5409 GB, free: 2.301 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.3636, allocations: 50.7 kB / 0.541 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009406/0.3645, allocations: 0.5641 MB / 0.5415 GB, free: 1.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3648, allocations: 0.7218 MB / 0.5422 GB, free: 1.148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.3648, allocations: 38.2 kB / 0.5423 GB, free: 1.129 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3648, allocations: 1.062 kB / 0.5423 GB, free: 1.129 MB / 398.1 MB Notification: Performance of Templates: time 0.005203/0.37, allocations: 3.332 MB / 0.5455 GB, free: 15.4 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches