Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001894/0.001894, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002248/0.002248, allocations: 156.9 kB / 24.26 MB, free: 168 kB / 18.57 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.604/1.604, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3761/0.3761, allocations: 34.24 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.369e-05, allocations: 2.312 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006917/0.00695, allocations: 4.321 MB / 381.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005231/0.01218, allocations: 3.581 MB / 385.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-05/0.01227, allocations: 4 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.01254, allocations: 51.66 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.01476, allocations: 0.7687 MB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.01512, allocations: 127.7 kB / 386.1 MB, free: 9.984 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006214/0.01574, allocations: 385.9 kB / 386.5 MB, free: 9.605 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.727e-05/0.0158, allocations: 5.812 kB / 386.5 MB, free: 9.598 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.01629, allocations: 199.4 kB / 386.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.01655, allocations: 131.6 kB / 386.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.01659, allocations: 8 kB / 386.8 MB, free: 9.266 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009136/0.0175, allocations: 383.3 kB / 387.2 MB, free: 8.891 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.425e-05/0.01759, allocations: 47.81 kB / 387.2 MB, free: 8.844 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.01773, allocations: 83.77 kB / 387.3 MB, free: 8.762 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008599/0.01859, allocations: 490.5 kB / 387.8 MB, free: 8.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.0186, allocations: 0 / 387.8 MB, free: 8.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.0186, allocations: 0 / 387.8 MB, free: 8.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.0186, allocations: 0 / 387.8 MB, free: 8.281 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.001204/0.01981, allocations: 0.5285 MB / 388.3 MB, free: 7.723 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.01984, allocations: 12.03 kB / 388.3 MB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.02007, allocations: 52.73 kB / 388.4 MB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.02041, allocations: 169.5 kB / 388.5 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.02067, allocations: 226.7 kB / 388.8 MB, free: 7.199 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.02072, allocations: 28.36 kB / 388.8 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.02145, allocations: 489.7 kB / 389.3 MB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.02147, allocations: 4.125 kB / 389.3 MB, free: 6.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.0215, allocations: 15.94 kB / 389.3 MB, free: 6.609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.02153, allocations: 15.94 kB / 389.3 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009951/0.02253, allocations: 0.7159 MB / 390 MB, free: 5.879 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.001529/0.02405, allocations: 1.046 MB / 391.1 MB, free: 4.773 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.02445, allocations: 151.8 kB / 391.2 MB, free: 4.617 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.02459, allocations: 81.48 kB / 391.3 MB, free: 4.535 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/0.02627, allocations: 0.7231 MB / 392 MB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.02631, allocations: 38.55 kB / 392.1 MB, free: 3.746 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.02631, allocations: 4 kB / 392.1 MB, free: 3.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003427/0.02666, allocations: 125.4 kB / 392.2 MB, free: 3.613 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.0267, allocations: 55.34 kB / 392.2 MB, free: 3.547 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.02695, allocations: 239.8 kB / 392.5 MB, free: 3.305 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.02698, allocations: 25.7 kB / 392.5 MB, free: 3.273 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.02716, allocations: 231.4 kB / 392.7 MB, free: 3.043 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.0272, allocations: 35.69 kB / 392.8 MB, free: 3.008 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.02732, allocations: 86.09 kB / 392.8 MB, free: 2.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.02752, allocations: 330.8 kB / 393.2 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.68e-05/0.0276, allocations: 44.97 kB / 393.2 MB, free: 2.543 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.0281, allocations: 352.1 kB / 393.5 MB, free: 2.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/0.02866, allocations: 448.5 kB / 394 MB, free: 1.465 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.02867, allocations: 4 kB / 394 MB, free: 1.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006705/0.02934, allocations: 405.7 kB / 394.4 MB, free: 1.059 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.02936, allocations: 12 kB / 394.4 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.02938, allocations: 12.12 kB / 394.4 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.02941, allocations: 16 kB / 394.4 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.02971, allocations: 95.83 kB / 394.5 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/0.02974, allocations: 23.92 kB / 394.5 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.02999, allocations: 55.62 kB / 394.6 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.03003, allocations: 31.94 kB / 394.6 MB, free: 0.8164 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.0001466/0.03017, allocations: 149.5 kB / 394.8 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.03024, allocations: 23.86 kB / 394.8 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.03054, allocations: 148.6 kB / 394.9 MB, free: 496 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.03055, allocations: 4 kB / 394.9 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.03055, allocations: 0 / 394.9 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.03055, allocations: 0 / 394.9 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004937/0.03105, allocations: 352.6 kB / 395.3 MB, free: 92 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.03105, allocations: 4 kB / 395.3 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-05/0.03112, allocations: 15.92 kB / 395.3 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.03113, allocations: 4 kB / 395.3 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.03114, allocations: 4 kB / 395.3 MB, free: 64 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.978e-05/0.03116, allocations: 7.938 kB / 395.3 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.03116, allocations: 0 / 395.3 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.03141, allocations: 198 kB / 395.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.03147, allocations: 27.89 kB / 395.5 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.03151, allocations: 11.89 kB / 395.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.03167, allocations: 15.89 kB / 395.6 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.03169, allocations: 4 kB / 395.6 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.03171, allocations: 11.98 kB / 395.6 MB, free: 15.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.03187, allocations: 153.2 kB / 395.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03187, allocations: 0 / 395.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005279/0.03239, allocations: 91.94 kB / 395.8 MB, free: 15.52 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.0003032/0.0327, allocations: 163 kB / 396 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003088/0.03301, allocations: 161.7 kB / 396.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.03301, allocations: 0 / 396.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.03306, allocations: 28.67 kB / 396.2 MB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.03352, allocations: 52.77 kB / 396.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.03457, allocations: 0.508 MB / 396.7 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.0347, allocations: 116.6 kB / 396.8 MB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.03488, allocations: 50.84 kB / 396.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.03494, allocations: 28.5 kB / 396.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of SimCode: time 4.5e-07/0.03494, allocations: 0 / 396.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of Templates: time 0.007847/0.04278, allocations: 3.108 MB / 400 MB, free: 11.3 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.351447082008235]