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.00147/0.00147, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001553/0.001553, allocations: 165.7 kB / 24.26 MB, free: 176 kB / 18.57 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.499/1.499, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3359/0.3359, allocations: 34.27 MB / 295.3 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] 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 1.322e-06/1.322e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.572e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007386/0.007412, allocations: 4.321 MB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005289/0.0127, allocations: 3.589 MB / 385.2 MB, free: 11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.01283, allocations: 4 kB / 385.2 MB, free: 11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.01313, allocations: 51.61 kB / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.01544, allocations: 0.761 MB / 386 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.01582, allocations: 139.6 kB / 386.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006368/0.01646, allocations: 373.9 kB / 386.5 MB, free: 9.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.01651, allocations: 13.81 kB / 386.6 MB, free: 9.664 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003502/0.01686, allocations: 191.4 kB / 386.7 MB, free: 9.477 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.01715, allocations: 131.7 kB / 386.9 MB, free: 9.348 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.01719, allocations: 8 kB / 386.9 MB, free: 9.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000931/0.01812, allocations: 391.2 kB / 387.3 MB, free: 8.957 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.01821, allocations: 43.77 kB / 387.3 MB, free: 8.914 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.01836, allocations: 79.83 kB / 387.4 MB, free: 8.836 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.01938, allocations: 494.5 kB / 387.9 MB, free: 8.352 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01938, allocations: 0 / 387.9 MB, free: 8.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01938, allocations: 0 / 387.9 MB, free: 8.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.01939, allocations: 0 / 387.9 MB, free: 8.352 MB / 362.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.001351/0.02074, allocations: 0.5246 MB / 388.4 MB, free: 7.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.02078, allocations: 16.03 kB / 388.4 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.02101, allocations: 48.73 kB / 388.5 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.02133, allocations: 181.4 kB / 388.6 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.02156, allocations: 222.7 kB / 388.9 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.02161, allocations: 24.38 kB / 388.9 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000737/0.02234, allocations: 493.7 kB / 389.4 MB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.02235, allocations: 192 / 389.4 MB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.02239, allocations: 15.94 kB / 389.4 MB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.02242, allocations: 4 kB / 389.4 MB, free: 6.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009995/0.02341, allocations: 0.7237 MB / 390.1 MB, free: 5.953 MB / 362.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.001576/0.02499, allocations: 1.043 MB / 391.1 MB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.02541, allocations: 151.8 kB / 391.3 MB, free: 4.695 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.02557, allocations: 81.47 kB / 391.4 MB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001807/0.02738, allocations: 0.7309 MB / 392.1 MB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.02742, allocations: 38.56 kB / 392.1 MB, free: 3.816 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.02742, allocations: 0 / 392.1 MB, free: 3.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000348/0.02777, allocations: 125.8 kB / 392.3 MB, free: 3.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.02782, allocations: 51.41 kB / 392.3 MB, free: 3.625 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.02832, allocations: 235.8 kB / 392.5 MB, free: 3.387 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.02834, allocations: 29.7 kB / 392.6 MB, free: 3.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.02853, allocations: 223.4 kB / 392.8 MB, free: 3.129 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.02858, allocations: 43.69 kB / 392.8 MB, free: 3.086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.0287, allocations: 86.09 kB / 392.9 MB, free: 2.996 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.02888, allocations: 334.7 kB / 393.2 MB, free: 2.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-05/0.02898, allocations: 48.97 kB / 393.3 MB, free: 2.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.02938, allocations: 344.1 kB / 393.6 MB, free: 2.133 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005872/0.02997, allocations: 444.6 kB / 394.1 MB, free: 1.551 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.02997, allocations: 0 / 394.1 MB, free: 1.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007267/0.0307, allocations: 408.9 kB / 394.5 MB, free: 1.145 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.03073, allocations: 12.94 kB / 394.5 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.03074, allocations: 8 kB / 394.5 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.665e-05/0.03078, allocations: 16 kB / 394.5 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.03108, allocations: 103.8 kB / 394.6 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.921e-05/0.0311, allocations: 19.94 kB / 394.6 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.03137, allocations: 51.62 kB / 394.7 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.03141, allocations: 31.94 kB / 394.7 MB, free: 0.9062 MB / 362.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 0.0001639/0.03157, allocations: 153.6 kB / 394.9 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.03164, allocations: 27.86 kB / 394.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.03194, allocations: 140.7 kB / 395 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.03195, allocations: 0 / 395 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.03195, allocations: 4.047 kB / 395 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.03196, allocations: 7.969 kB / 395 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.03248, allocations: 352.5 kB / 395.4 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.03249, allocations: 0 / 395.4 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.03255, allocations: 20.09 kB / 395.4 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.03256, allocations: 4 kB / 395.4 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.03257, allocations: 0 / 395.4 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.03257, allocations: 3.938 kB / 395.4 MB, free: 148 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.03258, allocations: 11.92 kB / 395.4 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.03285, allocations: 217.9 kB / 395.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.03292, allocations: 19.89 kB / 395.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.03296, allocations: 7.891 kB / 395.7 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.03312, allocations: 7.938 kB / 395.7 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.03314, allocations: 11.98 kB / 395.7 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.03316, allocations: 8 kB / 395.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.03332, allocations: 157.2 kB / 395.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03332, allocations: 0 / 395.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005427/0.03387, allocations: 87.94 kB / 395.9 MB, free: 15.6 MB / 378.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.0003225/0.03419, allocations: 155.1 kB / 396.1 MB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003294/0.03452, allocations: 166.2 kB / 396.2 MB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.03452, allocations: 0 / 396.2 MB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.03457, allocations: 23.94 kB / 396.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.03504, allocations: 48.83 kB / 396.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.03612, allocations: 0.508 MB / 396.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.03626, allocations: 116.6 kB / 396.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000188/0.03645, allocations: 55.02 kB / 397 MB, free: 14.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.03651, allocations: 24.5 kB / 397 MB, free: 14.45 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03651, allocations: 0 / 397 MB, free: 14.45 MB / 378.7 MB Notification: Performance of Templates: time 0.008262/0.04477, allocations: 3.101 MB / 400.1 MB, free: 11.39 MB / 378.7 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: 4.942590879974887]