Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002426/0.002426, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.58/1.58, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2541/0.2541, allocations: 46.97 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 76.11 kB / 0.4966 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3938, allocations: 66.03 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006891/0.4007, allocations: 4.313 MB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004851/0.4055, allocations: 3.59 MB / 0.5688 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.4056, allocations: 7.938 kB / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.4059, allocations: 47.69 kB / 0.5689 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.4082, allocations: 0.7422 MB / 0.5696 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.4086, allocations: 139.3 kB / 0.5697 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006179/0.4092, allocations: 378.1 kB / 0.5701 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.029e-05/0.4093, allocations: 9.797 kB / 0.5701 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.4095, allocations: 147.5 kB / 0.5703 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.4097, allocations: 147.5 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.4098, allocations: 8 kB / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009458/0.4107, allocations: 379.5 kB / 0.5708 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-05/0.4108, allocations: 47.77 kB / 0.5708 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.4109, allocations: 91.58 kB / 0.5709 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007397/0.4117, allocations: 465 kB / 0.5713 GB, free: 9.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4117, allocations: 0 / 0.5713 GB, free: 9.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4117, allocations: 3.938 kB / 0.5713 GB, free: 9.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.4117, allocations: 0 / 0.5713 GB, free: 9.652 MB / 414.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.001153/0.4128, allocations: 0.5285 MB / 0.5719 GB, free: 9.094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4129, allocations: 12.03 kB / 0.5719 GB, free: 9.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.413, allocations: 24.84 kB / 0.5719 GB, free: 9.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.4134, allocations: 174.2 kB / 0.5721 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.4136, allocations: 222.7 kB / 0.5723 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.4136, allocations: 24.38 kB / 0.5723 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000637/0.4143, allocations: 493 kB / 0.5728 GB, free: 8.027 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.4143, allocations: 8 kB / 0.5728 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.4143, allocations: 8 kB / 0.5728 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.759e-05/0.4143, allocations: 8 kB / 0.5728 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008868/0.4152, allocations: 0.7195 MB / 0.5735 GB, free: 7.281 MB / 414.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.001417/0.4166, allocations: 1.042 MB / 0.5745 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.417, allocations: 155.7 kB / 0.5747 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.4171, allocations: 81.48 kB / 0.5747 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/0.4187, allocations: 0.7271 MB / 0.5754 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.4188, allocations: 30.56 kB / 0.5755 GB, free: 5.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.4188, allocations: 4 kB / 0.5755 GB, free: 5.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002814/0.4191, allocations: 113.5 kB / 0.5756 GB, free: 5.035 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.4191, allocations: 59.28 kB / 0.5756 GB, free: 4.965 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.4193, allocations: 239.8 kB / 0.5759 GB, free: 4.723 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.4194, allocations: 29.7 kB / 0.5759 GB, free: 4.688 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.4195, allocations: 231.4 kB / 0.5761 GB, free: 4.457 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.4195, allocations: 43.67 kB / 0.5762 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.4197, allocations: 90.03 kB / 0.5762 GB, free: 4.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4198, allocations: 330.8 kB / 0.5766 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-05/0.4199, allocations: 44.84 kB / 0.5766 GB, free: 3.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.4202, allocations: 339.2 kB / 0.5769 GB, free: 3.465 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004939/0.4207, allocations: 448.6 kB / 0.5774 GB, free: 2.879 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.4207, allocations: 4 kB / 0.5774 GB, free: 2.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005987/0.4213, allocations: 381.8 kB / 0.5777 GB, free: 2.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.4214, allocations: 8 kB / 0.5777 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.4214, allocations: 12 kB / 0.5777 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.4214, allocations: 12 kB / 0.5778 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.4217, allocations: 103.8 kB / 0.5779 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/0.4217, allocations: 23.86 kB / 0.5779 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.4219, allocations: 55.62 kB / 0.5779 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.422, allocations: 28 kB / 0.578 GB, free: 2.258 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.0001615/0.4221, allocations: 145.6 kB / 0.5781 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.4222, allocations: 23.95 kB / 0.5781 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.4225, allocations: 148.5 kB / 0.5783 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.4225, allocations: 0 / 0.5783 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4225, allocations: 3.938 kB / 0.5783 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4225, allocations: 8 kB / 0.5783 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.423, allocations: 356.5 kB / 0.5786 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.423, allocations: 0 / 0.5786 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.423, allocations: 12 kB / 0.5786 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.423, allocations: 3.938 kB / 0.5786 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.4231, allocations: 7.984 kB / 0.5786 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4231, allocations: 0 / 0.5786 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4231, allocations: 7.875 kB / 0.5786 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.4233, allocations: 201.9 kB / 0.5788 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.4233, allocations: 31.92 kB / 0.5789 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.4234, allocations: 11.89 kB / 0.5789 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.4235, allocations: 4 kB / 0.5789 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.4236, allocations: 7.984 kB / 0.5789 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.4236, allocations: 4 kB / 0.5789 GB, free: 1.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.4237, allocations: 152.5 kB / 0.579 GB, free: 1.055 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4237, allocations: 0 / 0.579 GB, free: 1.055 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005317/0.4243, allocations: 95.92 kB / 0.5791 GB, free: 0.9609 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.0002848/0.4245, allocations: 159.2 kB / 0.5793 GB, free: 0.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.4248, allocations: 165.9 kB / 0.5794 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4248, allocations: 448 / 0.5794 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.348e-05/0.4249, allocations: 27.92 kB / 0.5795 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.4253, allocations: 48.33 kB / 0.5795 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.4264, allocations: 0.5328 MB / 0.58 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.4265, allocations: 112.6 kB / 0.5801 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.4267, allocations: 58.86 kB / 0.5802 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.4267, allocations: 27.44 kB / 0.5802 GB, free: 15.77 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4267, allocations: 0 / 0.5802 GB, free: 15.77 MB / 430.1 MB Notification: Performance of Templates: time 0.00768/0.4344, allocations: 3.393 MB / 0.5835 GB, free: 12.43 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.588367456570268]