Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001353/0.001353, allocations: 103.6 kB / 21.18 MB, free: 0.6562 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.001493/0.001493, allocations: 210.9 kB / 24.48 MB, free: 3.949 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.654/1.654, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2265/0.2265, allocations: 46.97 MB / 361.6 MB, free: 4.035 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.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.89 kB / 0.4974 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3845, allocations: 66.03 MB / 0.5619 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007314/0.3918, allocations: 4.691 MB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005509/0.3973, allocations: 4.092 MB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.3975, allocations: 0 / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.3978, allocations: 55.61 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.4002, allocations: 0.6682 MB / 0.5711 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.4006, allocations: 171.2 kB / 0.5713 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007372/0.4014, allocations: 378.1 kB / 0.5717 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.083e-05/0.4014, allocations: 21.8 kB / 0.5717 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.4017, allocations: 151.5 kB / 0.5718 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.402, allocations: 131.5 kB / 0.572 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.402, allocations: 8 kB / 0.572 GB, free: 9.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009099/0.4029, allocations: 319.7 kB / 0.5723 GB, free: 9.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.403, allocations: 51.75 kB / 0.5723 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.4031, allocations: 95.58 kB / 0.5724 GB, free: 9.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007687/0.4039, allocations: 429 kB / 0.5728 GB, free: 8.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.4039, allocations: 0 / 0.5728 GB, free: 8.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4039, allocations: 4 kB / 0.5728 GB, free: 8.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.4039, allocations: 4 kB / 0.5728 GB, free: 8.898 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.001131/0.405, allocations: 0.5246 MB / 0.5733 GB, free: 8.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.4051, allocations: 8.031 kB / 0.5733 GB, free: 8.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.4053, allocations: 24.84 kB / 0.5734 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.4056, allocations: 170.2 kB / 0.5735 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.4059, allocations: 230.6 kB / 0.5737 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.4059, allocations: 20.38 kB / 0.5738 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.4066, allocations: 0.5065 MB / 0.5743 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.4066, allocations: 4 kB / 0.5743 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.4066, allocations: 8 kB / 0.5743 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.4067, allocations: 8 kB / 0.5743 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008972/0.4076, allocations: 0.7195 MB / 0.575 GB, free: 6.508 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.001465/0.409, allocations: 1.042 MB / 0.576 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.4094, allocations: 139.4 kB / 0.5761 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.4095, allocations: 72.77 kB / 0.5762 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/0.411, allocations: 0.6516 MB / 0.5768 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.4111, allocations: 34.56 kB / 0.5769 GB, free: 4.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.4111, allocations: 0 / 0.5769 GB, free: 4.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007784/0.4118, allocations: 225.1 kB / 0.5771 GB, free: 4.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.4119, allocations: 51.41 kB / 0.5771 GB, free: 4.191 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.4121, allocations: 230.6 kB / 0.5774 GB, free: 3.957 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.4122, allocations: 29.7 kB / 0.5774 GB, free: 3.922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.4123, allocations: 219.5 kB / 0.5776 GB, free: 3.703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.4124, allocations: 59.56 kB / 0.5776 GB, free: 3.645 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.4125, allocations: 82.08 kB / 0.5777 GB, free: 3.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4126, allocations: 326.8 kB / 0.578 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.4127, allocations: 48.84 kB / 0.5781 GB, free: 3.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.4131, allocations: 320.1 kB / 0.5784 GB, free: 2.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.4135, allocations: 419.5 kB / 0.5788 GB, free: 2.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.4135, allocations: 0 / 0.5788 GB, free: 2.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005794/0.4141, allocations: 373.8 kB / 0.5791 GB, free: 1.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4141, allocations: 12 kB / 0.5792 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.4142, allocations: 8 kB / 0.5792 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.4142, allocations: 16 kB / 0.5792 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.4145, allocations: 103.8 kB / 0.5793 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/0.4146, allocations: 23.86 kB / 0.5793 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.4148, allocations: 16 kB / 0.5793 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.4148, allocations: 28 kB / 0.5793 GB, free: 1.625 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001534/0.415, allocations: 149.6 kB / 0.5795 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.4151, allocations: 23.84 kB / 0.5795 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.4154, allocations: 154.9 kB / 0.5797 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.4154, allocations: 4 kB / 0.5797 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4154, allocations: 3.938 kB / 0.5797 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4154, allocations: 4 kB / 0.5797 GB, free: 1.273 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.416, allocations: 370.6 kB / 0.58 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.416, allocations: 4 kB / 0.58 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.4162, allocations: 27.98 kB / 0.5801 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4162, allocations: 0 / 0.5801 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.4162, allocations: 3.938 kB / 0.5801 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.4162, allocations: 4.125 kB / 0.5801 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4162, allocations: 4 kB / 0.5801 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.4165, allocations: 224.2 kB / 0.5803 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.4166, allocations: 27.84 kB / 0.5803 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.4166, allocations: 19.89 kB / 0.5803 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.4169, allocations: 11.98 kB / 0.5803 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.4169, allocations: 7.984 kB / 0.5803 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.4169, allocations: 4 kB / 0.5803 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.4171, allocations: 156.4 kB / 0.5805 GB, free: 384 kB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4171, allocations: 4 kB / 0.5805 GB, free: 380 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005113/0.4176, allocations: 95.88 kB / 0.5806 GB, free: 284 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0003396/0.4179, allocations: 163 kB / 0.5807 GB, free: 112 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003707/0.4183, allocations: 177.7 kB / 0.5809 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.4183, allocations: 0 / 0.5809 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/0.4183, allocations: 31.92 kB / 0.5809 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.4188, allocations: 51.7 kB / 0.581 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.4199, allocations: 0.5396 MB / 0.5815 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.42, allocations: 116.6 kB / 0.5816 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.4201, allocations: 31.44 kB / 0.5817 GB, free: 15.12 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4201, allocations: 0 / 0.5817 GB, free: 15.12 MB / 430.1 MB Notification: Performance of Templates: time 0.006381/0.4264, allocations: 3.614 MB / 0.5852 GB, free: 11.51 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.147708950011292]