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.001913/0.001913, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002773/0.002773, allocations: 207.2 kB / 23.73 MB, free: 4.523 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.583/1.583, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.251/0.251, allocations: 46.96 MB / 360.9 MB, free: 4.145 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.00215/0.00215, allocations: 75.89 kB / 0.4966 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3643, allocations: 66.02 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006362/0.3707, allocations: 4.309 MB / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004531/0.3752, allocations: 3.597 MB / 0.5688 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.3753, allocations: 0 / 0.5688 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.3756, allocations: 51.62 kB / 0.5689 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.3775, allocations: 0.7461 MB / 0.5696 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.3778, allocations: 131 kB / 0.5697 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.3784, allocations: 382 kB / 0.5701 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.612e-05/0.3784, allocations: 13.81 kB / 0.5701 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.3787, allocations: 151.5 kB / 0.5703 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.3789, allocations: 147.5 kB / 0.5704 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.379, allocations: 8 kB / 0.5704 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008798/0.3798, allocations: 387.5 kB / 0.5708 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.679e-05/0.3799, allocations: 43.81 kB / 0.5708 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.3801, allocations: 103.6 kB / 0.5709 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007152/0.3808, allocations: 457 kB / 0.5713 GB, free: 9.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3808, allocations: 0 / 0.5713 GB, free: 9.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3808, allocations: 0 / 0.5713 GB, free: 9.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3808, allocations: 0 / 0.5713 GB, free: 9.629 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.001175/0.382, allocations: 0.5363 MB / 0.5719 GB, free: 9.062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.382, allocations: 8.031 kB / 0.5719 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.3822, allocations: 28.83 kB / 0.5719 GB, free: 9.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.3825, allocations: 166.2 kB / 0.5721 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.3827, allocations: 234.6 kB / 0.5723 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.3827, allocations: 24.31 kB / 0.5723 GB, free: 8.535 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006346/0.3834, allocations: 489 kB / 0.5728 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3834, allocations: 3.938 kB / 0.5728 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.3834, allocations: 12 kB / 0.5728 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.3834, allocations: 11.98 kB / 0.5728 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008613/0.3843, allocations: 0.7196 MB / 0.5735 GB, free: 7.246 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.001471/0.3858, allocations: 1.042 MB / 0.5745 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.3862, allocations: 147.8 kB / 0.5747 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.3863, allocations: 81.47 kB / 0.5747 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/0.388, allocations: 0.7232 MB / 0.5754 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.388, allocations: 38.56 kB / 0.5755 GB, free: 5.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.388, allocations: 4 kB / 0.5755 GB, free: 5.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003287/0.3883, allocations: 121.4 kB / 0.5756 GB, free: 4.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.3884, allocations: 59.34 kB / 0.5757 GB, free: 4.926 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.3886, allocations: 235.8 kB / 0.5759 GB, free: 4.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3886, allocations: 25.7 kB / 0.5759 GB, free: 4.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.3888, allocations: 235.4 kB / 0.5761 GB, free: 4.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.3889, allocations: 39.69 kB / 0.5762 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.389, allocations: 86.03 kB / 0.5763 GB, free: 4.293 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3892, allocations: 326.8 kB / 0.5766 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.3893, allocations: 44.84 kB / 0.5766 GB, free: 3.918 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.3897, allocations: 351.2 kB / 0.5769 GB, free: 3.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/0.3902, allocations: 444.5 kB / 0.5774 GB, free: 2.848 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3902, allocations: 0 / 0.5774 GB, free: 2.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006099/0.3908, allocations: 385.9 kB / 0.5777 GB, free: 2.465 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.3908, allocations: 8 kB / 0.5777 GB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.3908, allocations: 12 kB / 0.5778 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.3909, allocations: 16.06 kB / 0.5778 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.3911, allocations: 103.8 kB / 0.5779 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.3912, allocations: 23.86 kB / 0.5779 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.3914, allocations: 51.62 kB / 0.5779 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.3915, allocations: 28 kB / 0.578 GB, free: 2.227 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.0001564/0.3916, allocations: 153.5 kB / 0.5781 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.3917, allocations: 19.86 kB / 0.5781 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.392, allocations: 149 kB / 0.5783 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.392, allocations: 4 kB / 0.5783 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.392, allocations: 3.938 kB / 0.5783 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.392, allocations: 0 / 0.5783 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.3925, allocations: 344.6 kB / 0.5786 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.3925, allocations: 8.156 kB / 0.5786 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/0.3925, allocations: 19.92 kB / 0.5786 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3926, allocations: 3.938 kB / 0.5786 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.3926, allocations: 8 kB / 0.5786 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3926, allocations: 0 / 0.5786 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3926, allocations: 4 kB / 0.5787 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.3928, allocations: 201.9 kB / 0.5788 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.3928, allocations: 23.83 kB / 0.5789 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.3929, allocations: 4 kB / 0.5789 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.393, allocations: 11.98 kB / 0.5789 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.393, allocations: 8 kB / 0.5789 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.3931, allocations: 7.984 kB / 0.5789 GB, free: 1.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.3932, allocations: 156.5 kB / 0.579 GB, free: 1.023 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3932, allocations: 0 / 0.579 GB, free: 1.023 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005427/0.3937, allocations: 91.83 kB / 0.5791 GB, free: 0.9336 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.0003326/0.3941, allocations: 159.1 kB / 0.5793 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.3944, allocations: 169.8 kB / 0.5794 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3944, allocations: 0 / 0.5794 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.531e-05/0.3944, allocations: 28.53 kB / 0.5795 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.3949, allocations: 48.52 kB / 0.5795 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.396, allocations: 0.5319 MB / 0.58 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.3961, allocations: 116.6 kB / 0.5802 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.3962, allocations: 50.84 kB / 0.5802 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.3963, allocations: 27.42 kB / 0.5802 GB, free: 15.75 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3963, allocations: 0 / 0.5802 GB, free: 15.75 MB / 430.1 MB Notification: Performance of Templates: time 0.00775/0.404, allocations: 3.501 MB / 0.5836 GB, free: 12.3 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.5273749977350235]