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.00145/0.00145, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001549/0.001549, allocations: 210.5 kB / 23.72 MB, free: 4.391 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2408/0.2408, allocations: 44.94 MB / 358.8 MB, free: 6.059 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.002166/0.002166, allocations: 72.12 kB / 0.4936 GB, free: 9.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.367, allocations: 65.46 MB / 0.5575 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.008299/0.3753, allocations: 4.306 MB / 0.5617 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005855/0.3812, allocations: 3.589 MB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.3814, allocations: 4 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.3818, allocations: 55.61 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002421/0.3842, allocations: 0.7461 MB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.3846, allocations: 131.6 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006859/0.3853, allocations: 378 kB / 0.5665 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.159e-05/0.3853, allocations: 9.812 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.3856, allocations: 155.5 kB / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.3859, allocations: 143.4 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.386, allocations: 8 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009305/0.3869, allocations: 383.5 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.387, allocations: 43.81 kB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.3872, allocations: 95.58 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009877/0.3882, allocations: 465 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3882, allocations: 0 / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3882, allocations: 0 / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.3882, allocations: 0 / 0.5677 GB, free: 12.96 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.001311/0.3895, allocations: 0.5324 MB / 0.5682 GB, free: 12.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3896, allocations: 8.031 kB / 0.5682 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.3897, allocations: 32.83 kB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.3901, allocations: 162.2 kB / 0.5684 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.3903, allocations: 230.7 kB / 0.5686 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.3904, allocations: 24.31 kB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/0.3911, allocations: 485 kB / 0.5691 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3911, allocations: 7.938 kB / 0.5691 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.3911, allocations: 8 kB / 0.5692 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.3912, allocations: 8 kB / 0.5692 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008743/0.392, allocations: 0.7196 MB / 0.5699 GB, free: 10.6 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.001425/0.3935, allocations: 1.042 MB / 0.5709 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.3938, allocations: 155.8 kB / 0.571 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.394, allocations: 81.47 kB / 0.5711 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/0.3956, allocations: 0.7271 MB / 0.5718 GB, free: 8.512 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.3956, allocations: 38.56 kB / 0.5719 GB, free: 8.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.3956, allocations: 0 / 0.5719 GB, free: 8.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003075/0.3959, allocations: 125.4 kB / 0.572 GB, free: 8.336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.396, allocations: 55.34 kB / 0.572 GB, free: 8.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.3962, allocations: 239.8 kB / 0.5723 GB, free: 8.027 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.3963, allocations: 25.7 kB / 0.5723 GB, free: 7.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.3964, allocations: 231.4 kB / 0.5725 GB, free: 7.766 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.3965, allocations: 39.67 kB / 0.5725 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3966, allocations: 90.03 kB / 0.5726 GB, free: 7.633 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3967, allocations: 326.8 kB / 0.5729 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/0.3968, allocations: 48.83 kB / 0.573 GB, free: 7.254 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.3972, allocations: 335.3 kB / 0.5733 GB, free: 6.785 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.3977, allocations: 452.5 kB / 0.5737 GB, free: 6.195 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.3977, allocations: 4 kB / 0.5737 GB, free: 6.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006516/0.3984, allocations: 381.1 kB / 0.5741 GB, free: 5.812 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3984, allocations: 10.5 kB / 0.5741 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.3984, allocations: 12.88 kB / 0.5741 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.3985, allocations: 12 kB / 0.5741 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.3987, allocations: 107.8 kB / 0.5742 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.139e-05/0.3988, allocations: 23.86 kB / 0.5743 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.399, allocations: 51.62 kB / 0.5743 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.3991, allocations: 28 kB / 0.5743 GB, free: 5.574 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.000151/0.3992, allocations: 153.5 kB / 0.5745 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.3993, allocations: 23.86 kB / 0.5745 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.3996, allocations: 148.5 kB / 0.5746 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3996, allocations: 0 / 0.5746 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.3996, allocations: 7.938 kB / 0.5747 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3996, allocations: 0 / 0.5747 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.4001, allocations: 344.6 kB / 0.575 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4001, allocations: 0 / 0.575 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.4001, allocations: 20.02 kB / 0.575 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4001, allocations: 7.938 kB / 0.575 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.4002, allocations: 8 kB / 0.575 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4002, allocations: 0 / 0.575 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4002, allocations: 0 / 0.575 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.4004, allocations: 210 kB / 0.5752 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.4004, allocations: 19.84 kB / 0.5752 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.4005, allocations: 11.89 kB / 0.5752 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.4006, allocations: 11.98 kB / 0.5753 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.4007, allocations: 0 / 0.5753 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.4007, allocations: 7.984 kB / 0.5753 GB, free: 4.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.4008, allocations: 160.5 kB / 0.5754 GB, free: 4.363 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4008, allocations: 4 kB / 0.5754 GB, free: 4.359 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.4013, allocations: 83.94 kB / 0.5755 GB, free: 4.277 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.0002861/0.4016, allocations: 163.2 kB / 0.5757 GB, free: 4.105 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.402, allocations: 164.5 kB / 0.5758 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.402, allocations: 1.938 kB / 0.5758 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.402, allocations: 23.92 kB / 0.5758 GB, free: 3.922 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.4024, allocations: 52.5 kB / 0.5759 GB, free: 3.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.4035, allocations: 0.5357 MB / 0.5764 GB, free: 3.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.4036, allocations: 116.6 kB / 0.5765 GB, free: 3.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.4038, allocations: 55.3 kB / 0.5766 GB, free: 3.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.4039, allocations: 31.42 kB / 0.5766 GB, free: 3.078 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4039, allocations: 0 / 0.5766 GB, free: 3.078 MB / 414.1 MB Notification: Performance of Templates: time 0.008106/0.412, allocations: 3.393 MB / 0.5799 GB, free: 15.75 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/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: 5.472881345078349]