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.001314/0.001314, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.001557/0.001557, allocations: 213.9 kB / 24.5 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2621/0.2621, allocations: 44.91 MB / 359.6 MB, free: 6.406 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.002851/0.002851, allocations: 65.78 kB / 0.4944 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3259, allocations: 65.46 MB / 0.5583 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006483/0.3324, allocations: 4.658 MB / 0.5628 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004741/0.3372, allocations: 4.029 MB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.3373, allocations: 4 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.3376, allocations: 55.61 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.3395, allocations: 0.7422 MB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.3398, allocations: 135.1 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000568/0.3404, allocations: 382.1 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.3405, allocations: 13.8 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.3407, allocations: 143.5 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.3409, allocations: 155.4 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.341, allocations: 8 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009223/0.3419, allocations: 439.4 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.11e-05/0.342, allocations: 47.81 kB / 0.5688 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.3421, allocations: 107.5 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007338/0.3428, allocations: 465 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3428, allocations: 0 / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3428, allocations: 0 / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3428, allocations: 0 / 0.5694 GB, free: 12.34 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.001139/0.344, allocations: 0.5402 MB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.344, allocations: 8.031 kB / 0.5699 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.3442, allocations: 32.77 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.3445, allocations: 166.2 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.3447, allocations: 234.6 kB / 0.5703 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.3448, allocations: 20.38 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.3453, allocations: 334.8 kB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3453, allocations: 4 kB / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.3453, allocations: 12 kB / 0.5707 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.3454, allocations: 8 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008786/0.3462, allocations: 0.7625 MB / 0.5714 GB, free: 10.1 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.001499/0.3477, allocations: 1.272 MB / 0.5727 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.3481, allocations: 151.8 kB / 0.5728 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.3482, allocations: 85.36 kB / 0.5729 GB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001549/0.3498, allocations: 0.7388 MB / 0.5736 GB, free: 7.715 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.3498, allocations: 30.56 kB / 0.5736 GB, free: 7.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.3498, allocations: 0 / 0.5736 GB, free: 7.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002888/0.3501, allocations: 125.7 kB / 0.5738 GB, free: 7.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.3502, allocations: 55.41 kB / 0.5738 GB, free: 7.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3504, allocations: 235.7 kB / 0.574 GB, free: 7.242 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.3504, allocations: 29.7 kB / 0.5741 GB, free: 7.207 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3505, allocations: 219.5 kB / 0.5743 GB, free: 6.988 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.3506, allocations: 47.64 kB / 0.5743 GB, free: 6.941 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-05/0.3507, allocations: 82.08 kB / 0.5744 GB, free: 6.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3508, allocations: 326.8 kB / 0.5747 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/0.3509, allocations: 44.84 kB / 0.5747 GB, free: 6.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.3512, allocations: 343.2 kB / 0.5751 GB, free: 6.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.3517, allocations: 448.6 kB / 0.5755 GB, free: 5.418 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.3517, allocations: 4 kB / 0.5755 GB, free: 5.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005861/0.3523, allocations: 381.5 kB / 0.5759 GB, free: 5.035 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3523, allocations: 8 kB / 0.5759 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.3523, allocations: 12 kB / 0.5759 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/0.3524, allocations: 19.94 kB / 0.5759 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.3526, allocations: 99.77 kB / 0.576 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.3526, allocations: 19.92 kB / 0.576 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.3529, allocations: 63.98 kB / 0.5761 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.3529, allocations: 32 kB / 0.5761 GB, free: 4.785 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.0001379/0.353, allocations: 145.7 kB / 0.5763 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.3531, allocations: 15.91 kB / 0.5763 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.3534, allocations: 156.5 kB / 0.5764 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.3534, allocations: 7.938 kB / 0.5764 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3534, allocations: 0 / 0.5764 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3534, allocations: 0 / 0.5764 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.3539, allocations: 376 kB / 0.5768 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3539, allocations: 0 / 0.5768 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.354, allocations: 20.08 kB / 0.5768 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.354, allocations: 0 / 0.5768 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.354, allocations: 8 kB / 0.5768 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.354, allocations: 0 / 0.5768 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.354, allocations: 48 / 0.5768 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.3542, allocations: 229.7 kB / 0.577 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.3543, allocations: 15.84 kB / 0.577 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.3543, allocations: 7.953 kB / 0.5771 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.3544, allocations: 11.98 kB / 0.5771 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.3545, allocations: 7.984 kB / 0.5771 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.3545, allocations: 0 / 0.5771 GB, free: 3.695 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.3546, allocations: 160.5 kB / 0.5772 GB, free: 3.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3546, allocations: 0 / 0.5772 GB, free: 3.535 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004758/0.3551, allocations: 87.88 kB / 0.5773 GB, free: 3.449 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.0002724/0.3554, allocations: 155.3 kB / 0.5775 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.3557, allocations: 173.5 kB / 0.5776 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3557, allocations: 0 / 0.5776 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.731e-05/0.3557, allocations: 23.92 kB / 0.5776 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.3561, allocations: 47.64 kB / 0.5777 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009912/0.3571, allocations: 0.5648 MB / 0.5782 GB, free: 2.445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.3575, allocations: 0.7285 MB / 0.579 GB, free: 1.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.3576, allocations: 39.36 kB / 0.579 GB, free: 1.652 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3576, allocations: 0 / 0.579 GB, free: 1.652 MB / 414.1 MB Notification: Performance of Templates: time 0.005986/0.3636, allocations: 3.344 MB / 0.5823 GB, free: 14.31 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/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: 7.93361590988934]