Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008066/0.0008066, allocations: 84.44 kB / 20.69 MB, free: 3.848 MB / 18.57 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.0008216/0.0008216, allocations: 173.2 kB / 23.97 MB, free: 0.5703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8219/0.8219, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1361/0.1361, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 408.1 MB, free: 1.688 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.219e-05, allocations: 5.938 kB / 408.1 MB, free: 1.684 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.003918/0.00394, allocations: 4.252 MB / 412.4 MB, free: 13.4 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.006388, allocations: 3.601 MB / 416 MB, free: 9.789 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.151e-05/0.00646, allocations: 0 / 416 MB, free: 9.789 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.006715, allocations: 51.67 kB / 416.1 MB, free: 9.738 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.007825, allocations: 0.7648 MB / 416.8 MB, free: 8.969 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.008041, allocations: 139.7 kB / 417 MB, free: 8.832 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003831/0.008424, allocations: 377.9 kB / 417.3 MB, free: 8.461 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.008466, allocations: 13.8 kB / 417.3 MB, free: 8.449 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.008628, allocations: 195.5 kB / 417.5 MB, free: 8.258 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.008781, allocations: 131.6 kB / 417.7 MB, free: 8.129 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.008802, allocations: 8 kB / 417.7 MB, free: 8.121 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.009238, allocations: 383.2 kB / 418 MB, free: 7.746 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.009305, allocations: 51.73 kB / 418.1 MB, free: 7.695 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.009376, allocations: 83.77 kB / 418.2 MB, free: 7.613 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004844/0.009861, allocations: 482.6 kB / 418.6 MB, free: 7.141 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.009863, allocations: 8 kB / 418.6 MB, free: 7.133 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.009864, allocations: 0 / 418.6 MB, free: 7.133 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.009869, allocations: 0 / 418.6 MB, free: 7.133 MB / 394.7 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.0007406/0.01061, allocations: 0.5285 MB / 419.2 MB, free: 6.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.01064, allocations: 8.031 kB / 419.2 MB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.01075, allocations: 32.8 kB / 419.2 MB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.01094, allocations: 165.5 kB / 419.4 MB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.01106, allocations: 226.7 kB / 419.6 MB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.01108, allocations: 24.38 kB / 419.6 MB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.01147, allocations: 485.7 kB / 420.1 MB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.01148, allocations: 4.188 kB / 420.1 MB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.0115, allocations: 11.94 kB / 420.1 MB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.01151, allocations: 8 kB / 420.1 MB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.01201, allocations: 0.7236 MB / 420.8 MB, free: 4.77 MB / 394.7 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.0008453/0.01285, allocations: 1.043 MB / 421.9 MB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.01309, allocations: 143.8 kB / 422 MB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/0.01317, allocations: 85.41 kB / 422.1 MB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008051/0.01397, allocations: 0.727 MB / 422.8 MB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.01399, allocations: 34.56 kB / 422.9 MB, free: 2.648 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.01399, allocations: 0 / 422.9 MB, free: 2.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002003/0.0142, allocations: 117.5 kB / 423 MB, free: 2.527 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.01422, allocations: 59.41 kB / 423 MB, free: 2.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.01436, allocations: 231.9 kB / 423.3 MB, free: 2.223 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.01438, allocations: 29.7 kB / 423.3 MB, free: 2.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/0.01447, allocations: 231.4 kB / 423.5 MB, free: 1.953 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.01449, allocations: 43.69 kB / 423.6 MB, free: 1.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.01455, allocations: 86.09 kB / 423.7 MB, free: 1.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.062e-05/0.01463, allocations: 330.8 kB / 424 MB, free: 1.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/0.01468, allocations: 44.97 kB / 424 MB, free: 1.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.01485, allocations: 340.1 kB / 424.4 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.01512, allocations: 448.6 kB / 424.8 MB, free: 388 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.01513, allocations: 4 kB / 424.8 MB, free: 384 kB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003472/0.01547, allocations: 385.1 kB / 425.2 MB, free: 15.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.01549, allocations: 11.94 kB / 425.2 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.0155, allocations: 12.84 kB / 425.2 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.01552, allocations: 12 kB / 425.2 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.01565, allocations: 107.7 kB / 425.3 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.01567, allocations: 15.94 kB / 425.3 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.0158, allocations: 59.61 kB / 425.4 MB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.01582, allocations: 31.94 kB / 425.4 MB, free: 15.75 MB / 410.7 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 8.48e-05/0.01591, allocations: 145.6 kB / 425.6 MB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.01593, allocations: 23.84 kB / 425.6 MB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.01611, allocations: 148.6 kB / 425.7 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.01612, allocations: 0 / 425.7 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.01612, allocations: 4 kB / 425.7 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01612, allocations: 0 / 425.7 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.01638, allocations: 352.5 kB / 426.1 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01638, allocations: 96 / 426.1 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.01641, allocations: 15.94 kB / 426.1 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01641, allocations: 4.094 kB / 426.1 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.01642, allocations: 4 kB / 426.1 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.01642, allocations: 7.922 kB / 426.1 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01642, allocations: 4.062 kB / 426.1 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.01654, allocations: 202 kB / 426.3 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.01657, allocations: 27.78 kB / 426.3 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.01659, allocations: 4 kB / 426.3 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.01666, allocations: 11.94 kB / 426.4 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.01668, allocations: 7.922 kB / 426.4 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.01668, allocations: 4 kB / 426.4 MB, free: 14.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.766e-05/0.01676, allocations: 165.2 kB / 426.5 MB, free: 14.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01676, allocations: 0 / 426.5 MB, free: 14.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002986/0.01706, allocations: 95.84 kB / 426.6 MB, free: 14.45 MB / 410.7 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.0002227/0.01728, allocations: 159 kB / 426.8 MB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.01748, allocations: 168.5 kB / 426.9 MB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01748, allocations: 1.875 kB / 426.9 MB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/0.0175, allocations: 19.92 kB / 427 MB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.01776, allocations: 52.67 kB / 427 MB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.01839, allocations: 0.5189 MB / 427.5 MB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.919e-05/0.01846, allocations: 120.5 kB / 427.6 MB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.01849, allocations: 24.5 kB / 427.7 MB, free: 13.33 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01849, allocations: 4 kB / 427.7 MB, free: 13.32 MB / 410.7 MB Notification: Performance of Templates: time 0.003529/0.02202, allocations: 3.481 MB / 431.2 MB, free: 9.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.657367160543799]