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.00149/0.00149, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001623/0.001623, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.455/1.455, allocations: 230.3 MB / 258 MB, free: 8.398 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.2408/0.2408, allocations: 46.94 MB / 361.4 MB, free: 4.48 MB / 286.1 MB " [Timeout remaining time 180] 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.002319/0.002319, allocations: 83.86 kB / 0.4972 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4022, allocations: 66.05 MB / 0.5617 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007213/0.4094, allocations: 4.652 MB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005148/0.4145, allocations: 4.029 MB / 0.5702 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.4146, allocations: 3.938 kB / 0.5702 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.4149, allocations: 55.66 kB / 0.5702 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.4169, allocations: 0.7499 MB / 0.571 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.4173, allocations: 127.2 kB / 0.5711 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006247/0.4179, allocations: 382 kB / 0.5714 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.418, allocations: 9.812 kB / 0.5715 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.4182, allocations: 147.5 kB / 0.5716 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.4184, allocations: 155.4 kB / 0.5717 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.4185, allocations: 8 kB / 0.5718 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009657/0.4194, allocations: 439.4 kB / 0.5722 GB, free: 9.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.455e-05/0.4195, allocations: 51.75 kB / 0.5722 GB, free: 9.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.4196, allocations: 107.5 kB / 0.5723 GB, free: 9.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007516/0.4204, allocations: 469.1 kB / 0.5728 GB, free: 9.172 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4204, allocations: 4 kB / 0.5728 GB, free: 9.168 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4204, allocations: 0 / 0.5728 GB, free: 9.168 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4204, allocations: 0 / 0.5728 GB, free: 9.168 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.001244/0.4217, allocations: 0.5363 MB / 0.5733 GB, free: 8.602 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.4217, allocations: 12.03 kB / 0.5733 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.4218, allocations: 24.84 kB / 0.5733 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.4222, allocations: 170.2 kB / 0.5735 GB, free: 8.375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.4224, allocations: 123.8 kB / 0.5736 GB, free: 8.227 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.4224, allocations: 24.38 kB / 0.5736 GB, free: 8.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/0.423, allocations: 338.8 kB / 0.574 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.423, allocations: 0 / 0.574 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.4231, allocations: 12 kB / 0.574 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.4231, allocations: 8 kB / 0.574 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009848/0.4241, allocations: 0.7625 MB / 0.5747 GB, free: 7.062 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.002052/0.4261, allocations: 1.272 MB / 0.576 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.4266, allocations: 158.7 kB / 0.5761 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.4268, allocations: 81.42 kB / 0.5762 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/0.4286, allocations: 0.7349 MB / 0.5769 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.4286, allocations: 34.56 kB / 0.5769 GB, free: 4.641 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.913e-06/0.4286, allocations: 4 kB / 0.577 GB, free: 4.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004094/0.429, allocations: 129.3 kB / 0.5771 GB, free: 4.504 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.4291, allocations: 51.41 kB / 0.5771 GB, free: 4.441 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.4294, allocations: 226 kB / 0.5773 GB, free: 4.215 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.4294, allocations: 25.7 kB / 0.5774 GB, free: 4.184 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.4296, allocations: 223.5 kB / 0.5776 GB, free: 3.961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.4297, allocations: 43.64 kB / 0.5776 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.4298, allocations: 82.08 kB / 0.5777 GB, free: 3.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.43, allocations: 330.8 kB / 0.578 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.613e-05/0.4301, allocations: 48.83 kB / 0.5781 GB, free: 3.449 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.4305, allocations: 343.2 kB / 0.5784 GB, free: 2.969 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006533/0.4311, allocations: 440.6 kB / 0.5788 GB, free: 2.391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.4311, allocations: 4 kB / 0.5788 GB, free: 2.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007078/0.4318, allocations: 385.1 kB / 0.5792 GB, free: 2.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.4318, allocations: 8 kB / 0.5792 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.4319, allocations: 15.94 kB / 0.5792 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.146e-05/0.4319, allocations: 24.67 kB / 0.5792 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.4321, allocations: 91.84 kB / 0.5793 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/0.4322, allocations: 27.92 kB / 0.5793 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.4324, allocations: 55.55 kB / 0.5794 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.4325, allocations: 31.94 kB / 0.5794 GB, free: 1.754 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.0001445/0.4326, allocations: 153.6 kB / 0.5796 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.4326, allocations: 19.84 kB / 0.5796 GB, free: 1.574 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.4329, allocations: 136.6 kB / 0.5797 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.4329, allocations: 11.94 kB / 0.5797 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4329, allocations: 0 / 0.5797 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.433, allocations: 96 / 0.5797 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.4335, allocations: 387.9 kB / 0.5801 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4335, allocations: 0 / 0.5801 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.4335, allocations: 12 kB / 0.5801 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4335, allocations: 0 / 0.5801 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4335, allocations: 4 kB / 0.5801 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.4335, allocations: 3.938 kB / 0.5801 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4335, allocations: 0 / 0.5801 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.4338, allocations: 221.9 kB / 0.5803 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.4338, allocations: 23.83 kB / 0.5804 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.4338, allocations: 7.953 kB / 0.5804 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.434, allocations: 4 kB / 0.5804 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.434, allocations: 11.98 kB / 0.5804 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.434, allocations: 4 kB / 0.5804 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.4342, allocations: 156.5 kB / 0.5805 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4342, allocations: 0 / 0.5805 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005164/0.4347, allocations: 91.88 kB / 0.5806 GB, free: 432 kB / 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.0003127/0.435, allocations: 155.2 kB / 0.5808 GB, free: 264 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000333/0.4353, allocations: 168.5 kB / 0.5809 GB, free: 96 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4354, allocations: 1.875 kB / 0.5809 GB, free: 96 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.4354, allocations: 23.94 kB / 0.5809 GB, free: 72 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.4358, allocations: 53.17 kB / 0.581 GB, free: 20 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.4371, allocations: 0.5358 MB / 0.5815 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.4375, allocations: 0.7206 MB / 0.5822 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.4377, allocations: 62.84 kB / 0.5823 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.4378, allocations: 27.44 kB / 0.5823 GB, free: 14.61 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4378, allocations: 0 / 0.5823 GB, free: 14.61 MB / 430.1 MB Notification: Performance of Templates: time 0.008198/0.446, allocations: 3.317 MB / 0.5856 GB, free: 11.31 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 -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/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-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.351853530853987]