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.001533/0.001533, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001707/0.001707, allocations: 205.9 kB / 24.49 MB, free: 4.145 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.425/1.425, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 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.2184/0.2184, allocations: 46.93 MB / 361.6 MB, free: 4.273 MB / 286.1 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 0.001898/0.001898, allocations: 64.05 kB / 0.4974 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3002, allocations: 66.03 MB / 0.5619 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006346/0.3066, allocations: 4.656 MB / 0.5665 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00478/0.3113, allocations: 4.029 MB / 0.5704 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.3115, allocations: 4 kB / 0.5704 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.3118, allocations: 59.59 kB / 0.5705 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.3137, allocations: 0.7383 MB / 0.5712 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.314, allocations: 131.1 kB / 0.5713 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.3146, allocations: 386 kB / 0.5717 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.3146, allocations: 5.812 kB / 0.5717 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.3149, allocations: 159.4 kB / 0.5718 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.3151, allocations: 151.4 kB / 0.572 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.3151, allocations: 8 kB / 0.572 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009811/0.3161, allocations: 447.4 kB / 0.5724 GB, free: 9.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.489e-05/0.3162, allocations: 35.89 kB / 0.5724 GB, free: 9.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3163, allocations: 111.5 kB / 0.5725 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007543/0.3171, allocations: 468.9 kB / 0.573 GB, free: 9.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3171, allocations: 4 kB / 0.573 GB, free: 9.023 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3171, allocations: 0 / 0.573 GB, free: 9.023 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3171, allocations: 0 / 0.573 GB, free: 9.023 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.001137/0.3182, allocations: 0.5363 MB / 0.5735 GB, free: 8.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3183, allocations: 12.03 kB / 0.5735 GB, free: 8.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.3184, allocations: 24.84 kB / 0.5736 GB, free: 8.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.3187, allocations: 170.2 kB / 0.5737 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.3189, allocations: 222.7 kB / 0.5739 GB, free: 7.961 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.319, allocations: 24.31 kB / 0.5739 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.3195, allocations: 334.8 kB / 0.5743 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3195, allocations: 7.875 kB / 0.5743 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.3195, allocations: 12 kB / 0.5743 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.3196, allocations: 11.98 kB / 0.5743 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008618/0.3204, allocations: 0.7547 MB / 0.575 GB, free: 6.797 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.001471/0.3219, allocations: 1.276 MB / 0.5763 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.3222, allocations: 151.8 kB / 0.5764 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.3224, allocations: 85.41 kB / 0.5765 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/0.3239, allocations: 0.7349 MB / 0.5772 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.324, allocations: 30.56 kB / 0.5773 GB, free: 4.375 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.324, allocations: 8 kB / 0.5773 GB, free: 4.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003011/0.3243, allocations: 121.4 kB / 0.5774 GB, free: 4.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3243, allocations: 55.34 kB / 0.5774 GB, free: 4.176 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.3245, allocations: 227.9 kB / 0.5776 GB, free: 3.945 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.3245, allocations: 25.7 kB / 0.5777 GB, free: 3.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.3247, allocations: 223.5 kB / 0.5779 GB, free: 3.691 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.3247, allocations: 51.62 kB / 0.5779 GB, free: 3.641 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3248, allocations: 78.09 kB / 0.578 GB, free: 3.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.325, allocations: 330.8 kB / 0.5783 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.3251, allocations: 48.84 kB / 0.5784 GB, free: 3.176 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.3254, allocations: 339.2 kB / 0.5787 GB, free: 2.699 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.3259, allocations: 452.5 kB / 0.5791 GB, free: 2.109 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.3259, allocations: 4 kB / 0.5791 GB, free: 2.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005856/0.3265, allocations: 381.1 kB / 0.5795 GB, free: 1.727 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3265, allocations: 12 kB / 0.5795 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.3265, allocations: 12 kB / 0.5795 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.3265, allocations: 24.69 kB / 0.5795 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.3268, allocations: 95.83 kB / 0.5796 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.3268, allocations: 23.94 kB / 0.5797 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.327, allocations: 55.55 kB / 0.5797 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.3271, allocations: 31.98 kB / 0.5797 GB, free: 1.477 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.0001383/0.3272, allocations: 157.5 kB / 0.5799 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.3273, allocations: 15.91 kB / 0.5799 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.3275, allocations: 148.5 kB / 0.58 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.3275, allocations: 7.938 kB / 0.5801 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3275, allocations: 0 / 0.5801 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3275, allocations: 0 / 0.5801 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.328, allocations: 376 kB / 0.5804 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.328, allocations: 0 / 0.5804 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.3281, allocations: 15.94 kB / 0.5804 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3281, allocations: 0 / 0.5804 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3281, allocations: 11.98 kB / 0.5804 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3281, allocations: 0 / 0.5804 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3281, allocations: 0 / 0.5804 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.3283, allocations: 213.9 kB / 0.5806 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.3284, allocations: 19.83 kB / 0.5807 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.3284, allocations: 7.953 kB / 0.5807 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3286, allocations: 15.92 kB / 0.5807 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.3286, allocations: 7.984 kB / 0.5807 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.3286, allocations: 4 kB / 0.5807 GB, free: 396 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.3287, allocations: 160.5 kB / 0.5808 GB, free: 236 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3287, allocations: 0 / 0.5808 GB, free: 236 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004929/0.3292, allocations: 91.86 kB / 0.5809 GB, free: 144 kB / 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.000282/0.3295, allocations: 155.2 kB / 0.5811 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.3298, allocations: 170.3 kB / 0.5812 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3298, allocations: 0 / 0.5812 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/0.3298, allocations: 24.11 kB / 0.5813 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.3303, allocations: 55.53 kB / 0.5813 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009927/0.3313, allocations: 0.5687 MB / 0.5819 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.3316, allocations: 0.7206 MB / 0.5826 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.3317, allocations: 27.44 kB / 0.5826 GB, free: 14.36 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3317, allocations: 0 / 0.5826 GB, free: 14.36 MB / 430.1 MB Notification: Performance of Templates: time 0.005955/0.3377, allocations: 3.344 MB / 0.5859 GB, free: 11.02 MB / 430.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/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: 7.532983494922519]