Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001714/0.001714, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002132/0.002132, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2355/0.2355, allocations: 46.89 MB / 361.1 MB, free: 4.645 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-beta.om/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=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-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 79.81 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3793, allocations: 65.98 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.008087/0.3873, allocations: 4.655 MB / 0.5658 GB, free: 340 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006304/0.3936, allocations: 4.045 MB / 0.5697 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.3939, allocations: 0 / 0.5697 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.3943, allocations: 51.67 kB / 0.5698 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002515/0.3969, allocations: 0.7343 MB / 0.5705 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.3973, allocations: 127.2 kB / 0.5706 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007279/0.398, allocations: 378.1 kB / 0.571 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.672e-05/0.3981, allocations: 9.688 kB / 0.571 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.3983, allocations: 143.4 kB / 0.5711 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.3987, allocations: 151.5 kB / 0.5713 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.3987, allocations: 8 kB / 0.5713 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.3999, allocations: 435.5 kB / 0.5717 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.4, allocations: 47.75 kB / 0.5717 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.4002, allocations: 111.5 kB / 0.5718 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.4013, allocations: 469.3 kB / 0.5723 GB, free: 9.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4013, allocations: 7.938 kB / 0.5723 GB, free: 9.637 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.4014, allocations: 0 / 0.5723 GB, free: 9.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.4014, allocations: 0 / 0.5723 GB, free: 9.637 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.001384/0.4027, allocations: 0.6078 MB / 0.5729 GB, free: 8.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.4028, allocations: 8.031 kB / 0.5729 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.403, allocations: 24.84 kB / 0.5729 GB, free: 8.949 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.4034, allocations: 224.1 kB / 0.5731 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.4036, allocations: 127.9 kB / 0.5733 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.4036, allocations: 20.38 kB / 0.5733 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.4042, allocations: 327.6 kB / 0.5736 GB, free: 8.176 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.4042, allocations: 4 kB / 0.5736 GB, free: 8.172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.4042, allocations: 8 kB / 0.5736 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.4043, allocations: 8 kB / 0.5736 GB, free: 8.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009443/0.4052, allocations: 0.739 MB / 0.5743 GB, free: 7.414 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.00169/0.4069, allocations: 1.304 MB / 0.5756 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.4073, allocations: 155.8 kB / 0.5757 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.4075, allocations: 81.42 kB / 0.5758 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003064/0.4105, allocations: 2.806 MB / 0.5786 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.4106, allocations: 42.55 kB / 0.5786 GB, free: 2.363 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.843e-06/0.4106, allocations: 0 / 0.5786 GB, free: 2.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000319/0.4109, allocations: 125.3 kB / 0.5787 GB, free: 2.234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.4109, allocations: 51.41 kB / 0.5788 GB, free: 2.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.4112, allocations: 220.7 kB / 0.579 GB, free: 1.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.4112, allocations: 29.7 kB / 0.579 GB, free: 1.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.4113, allocations: 231.3 kB / 0.5792 GB, free: 1.684 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.4114, allocations: 43.62 kB / 0.5793 GB, free: 1.641 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.4115, allocations: 82.08 kB / 0.5794 GB, free: 1.555 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4116, allocations: 330.8 kB / 0.5797 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.4118, allocations: 44.84 kB / 0.5797 GB, free: 1.176 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.4122, allocations: 351.2 kB / 0.58 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.4127, allocations: 440.6 kB / 0.5805 GB, free: 112 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.4127, allocations: 4 kB / 0.5805 GB, free: 108 kB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006433/0.4133, allocations: 385.1 kB / 0.5808 GB, free: 15.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.4133, allocations: 10.19 kB / 0.5808 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.4134, allocations: 12.88 kB / 0.5809 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.4134, allocations: 15.94 kB / 0.5809 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.4136, allocations: 111.8 kB / 0.581 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/0.4137, allocations: 15.94 kB / 0.581 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.4139, allocations: 59.44 kB / 0.5811 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.414, allocations: 28 kB / 0.5811 GB, free: 15.48 MB / 430.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.0001449/0.4141, allocations: 145.6 kB / 0.5812 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.4142, allocations: 19.91 kB / 0.5812 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.4145, allocations: 152.5 kB / 0.5814 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.4145, allocations: 3.938 kB / 0.5814 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4145, allocations: 0 / 0.5814 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4145, allocations: 4 kB / 0.5814 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.4151, allocations: 408.8 kB / 0.5818 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4151, allocations: 4 kB / 0.5818 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.4151, allocations: 11.98 kB / 0.5818 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4151, allocations: 4 kB / 0.5818 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4151, allocations: 0 / 0.5818 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4151, allocations: 4 kB / 0.5818 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4151, allocations: 3.938 kB / 0.5818 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.4154, allocations: 206 kB / 0.582 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.4155, allocations: 101 kB / 0.5821 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.4155, allocations: 7.891 kB / 0.5821 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.4157, allocations: 7.984 kB / 0.5821 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.4157, allocations: 4 kB / 0.5821 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.4157, allocations: 16.06 kB / 0.5821 GB, free: 14.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.4159, allocations: 152.5 kB / 0.5823 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4159, allocations: 0 / 0.5823 GB, free: 14.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005143/0.4164, allocations: 99.91 kB / 0.5824 GB, free: 14.01 MB / 430.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.0003188/0.4167, allocations: 159.7 kB / 0.5825 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003601/0.417, allocations: 170 kB / 0.5827 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4171, allocations: 3.938 kB / 0.5827 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-05/0.4171, allocations: 23.92 kB / 0.5827 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.4176, allocations: 44.91 kB / 0.5828 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.4186, allocations: 0.542 MB / 0.5833 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.419, allocations: 0.7245 MB / 0.584 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001809/0.4192, allocations: 54.92 kB / 0.584 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.4192, allocations: 31.42 kB / 0.5841 GB, free: 12.2 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4192, allocations: 0 / 0.5841 GB, free: 12.2 MB / 430.1 MB Notification: Performance of Templates: time 0.007741/0.427, allocations: 3.237 MB / 0.5872 GB, free: 8.98 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.528721923939884]