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.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.00134/0.00134, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001579/0.001579, allocations: 213.2 kB / 24.48 MB, free: 3.844 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.457/1.457, allocations: 230.6 MB / 258.2 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 44.94 MB / 359.6 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 63.89 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3117, allocations: 65.47 MB / 0.5582 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00641/0.3181, allocations: 4.306 MB / 0.5624 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004617/0.3227, allocations: 3.589 MB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.622e-05/0.3228, allocations: 8 kB / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.3231, allocations: 59.59 kB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.3249, allocations: 0.7344 MB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.3252, allocations: 139.3 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005457/0.3258, allocations: 374.1 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.3258, allocations: 9.812 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.3261, allocations: 147.5 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.3263, allocations: 155.4 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.3263, allocations: 8 kB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008029/0.3271, allocations: 379.5 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.14e-05/0.3272, allocations: 47.81 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.3273, allocations: 87.64 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007255/0.3281, allocations: 472.9 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3281, allocations: 0 / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3281, allocations: 0 / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3281, allocations: 4 kB / 0.5685 GB, free: 12.95 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.001127/0.3292, allocations: 0.5246 MB / 0.569 GB, free: 12.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3292, allocations: 12.02 kB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.3294, allocations: 24.84 kB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.3297, allocations: 178.2 kB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.33, allocations: 226.7 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.33, allocations: 24.38 kB / 0.5694 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/0.3306, allocations: 493 kB / 0.5699 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3306, allocations: 4 kB / 0.5699 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.3307, allocations: 8 kB / 0.5699 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.3307, allocations: 8 kB / 0.5699 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008725/0.3316, allocations: 0.7157 MB / 0.5706 GB, free: 10.59 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.001381/0.3329, allocations: 1.046 MB / 0.5716 GB, free: 9.484 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.3333, allocations: 151.8 kB / 0.5718 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.3335, allocations: 81.47 kB / 0.5718 GB, free: 9.246 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001591/0.335, allocations: 0.7193 MB / 0.5725 GB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3351, allocations: 34.5 kB / 0.5726 GB, free: 8.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.883e-06/0.3351, allocations: 4 kB / 0.5726 GB, free: 8.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002891/0.3354, allocations: 117.5 kB / 0.5727 GB, free: 8.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.3354, allocations: 55.34 kB / 0.5727 GB, free: 8.273 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.3357, allocations: 239.8 kB / 0.573 GB, free: 8.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.3357, allocations: 33.7 kB / 0.573 GB, free: 7.992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.3359, allocations: 227.4 kB / 0.5732 GB, free: 7.766 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.3359, allocations: 43.62 kB / 0.5733 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.336, allocations: 94.02 kB / 0.5734 GB, free: 7.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3362, allocations: 326.8 kB / 0.5737 GB, free: 7.297 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.845e-05/0.3363, allocations: 48.83 kB / 0.5737 GB, free: 7.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.3366, allocations: 343.2 kB / 0.574 GB, free: 6.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.3371, allocations: 448.6 kB / 0.5745 GB, free: 6.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.3371, allocations: 8 kB / 0.5745 GB, free: 6.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005935/0.3377, allocations: 381.3 kB / 0.5748 GB, free: 5.797 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3377, allocations: 8 kB / 0.5748 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.3378, allocations: 12 kB / 0.5749 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.3378, allocations: 12 kB / 0.5749 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.338, allocations: 99.83 kB / 0.575 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/0.3381, allocations: 28.39 kB / 0.575 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.3383, allocations: 59.62 kB / 0.5751 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.3384, allocations: 28 kB / 0.5751 GB, free: 5.555 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.0001281/0.3385, allocations: 145.6 kB / 0.5752 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.3385, allocations: 27.84 kB / 0.5752 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.3388, allocations: 140.5 kB / 0.5754 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.3388, allocations: 0 / 0.5754 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.3388, allocations: 7.938 kB / 0.5754 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3388, allocations: 0 / 0.5754 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.3393, allocations: 352.5 kB / 0.5757 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3393, allocations: 0 / 0.5757 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.3394, allocations: 15.98 kB / 0.5757 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3394, allocations: 3.938 kB / 0.5757 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3394, allocations: 7.984 kB / 0.5757 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3394, allocations: 4.094 kB / 0.5758 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3394, allocations: 0 / 0.5758 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.3396, allocations: 205.9 kB / 0.5759 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.3397, allocations: 23.84 kB / 0.576 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.3397, allocations: 11.89 kB / 0.576 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.3399, allocations: 7.984 kB / 0.576 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.3399, allocations: 11.92 kB / 0.576 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3399, allocations: 4 kB / 0.576 GB, free: 4.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.34, allocations: 152.5 kB / 0.5762 GB, free: 4.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.34, allocations: 0 / 0.5762 GB, free: 4.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004884/0.3405, allocations: 95.94 kB / 0.5762 GB, free: 4.262 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.3408, allocations: 159.2 kB / 0.5764 GB, free: 4.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003137/0.3411, allocations: 161.3 kB / 0.5765 GB, free: 3.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3411, allocations: 0 / 0.5765 GB, free: 3.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.105e-05/0.3412, allocations: 31.98 kB / 0.5766 GB, free: 3.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.3416, allocations: 41.66 kB / 0.5766 GB, free: 3.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.3426, allocations: 0.5691 MB / 0.5772 GB, free: 3.258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.3427, allocations: 112.6 kB / 0.5773 GB, free: 3.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.3428, allocations: 31.42 kB / 0.5773 GB, free: 3.098 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3428, allocations: 0 / 0.5773 GB, free: 3.098 MB / 414.1 MB Notification: Performance of Templates: time 0.006068/0.3488, allocations: 3.457 MB / 0.5807 GB, free: 15.65 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.700581725221127]