Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.00148/0.00148, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001432/0.001432, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 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.324/1.324, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] 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.2068/0.2068, allocations: 46.92 MB / 361.5 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 180] 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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 75.88 kB / 0.4975 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2654, allocations: 66.07 MB / 0.562 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006069/0.2714, allocations: 5.081 MB / 0.567 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004672/0.2761, allocations: 4.59 MB / 0.5714 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.984e-05/0.2762, allocations: 0 / 0.5714 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.2764, allocations: 59.59 kB / 0.5715 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.2779, allocations: 0.6759 MB / 0.5722 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.2783, allocations: 163.8 kB / 0.5723 GB, free: 9.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005374/0.2788, allocations: 374.1 kB / 0.5727 GB, free: 9.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.2788, allocations: 13.8 kB / 0.5727 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.2791, allocations: 155.5 kB / 0.5728 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.2793, allocations: 135.4 kB / 0.573 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.2793, allocations: 8 kB / 0.573 GB, free: 8.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007896/0.2801, allocations: 367.5 kB / 0.5733 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.917e-05/0.2802, allocations: 47.81 kB / 0.5734 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.2803, allocations: 103.5 kB / 0.5735 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000693/0.281, allocations: 445 kB / 0.5739 GB, free: 7.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.281, allocations: 0 / 0.5739 GB, free: 7.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.281, allocations: 0 / 0.5739 GB, free: 7.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.281, allocations: 0 / 0.5739 GB, free: 7.98 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.0009704/0.282, allocations: 0.5246 MB / 0.5744 GB, free: 7.426 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.282, allocations: 16.03 kB / 0.5744 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.2822, allocations: 28.83 kB / 0.5744 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.2825, allocations: 166.2 kB / 0.5746 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.2826, allocations: 230.7 kB / 0.5748 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.2827, allocations: 24.31 kB / 0.5748 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.2832, allocations: 338.8 kB / 0.5752 GB, free: 6.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2832, allocations: 0 / 0.5752 GB, free: 6.539 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.2832, allocations: 12 kB / 0.5752 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.2832, allocations: 8 kB / 0.5752 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008293/0.2841, allocations: 0.7547 MB / 0.5759 GB, free: 5.762 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.0013/0.2854, allocations: 1.225 MB / 0.5771 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.2857, allocations: 147.4 kB / 0.5773 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.2858, allocations: 64.83 kB / 0.5773 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/0.2871, allocations: 0.6711 MB / 0.578 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.2871, allocations: 30.56 kB / 0.578 GB, free: 3.492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.2871, allocations: 0 / 0.578 GB, free: 3.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006298/0.2877, allocations: 228.5 kB / 0.5782 GB, free: 3.266 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.2878, allocations: 55.34 kB / 0.5783 GB, free: 3.199 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.288, allocations: 214.8 kB / 0.5785 GB, free: 2.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.288, allocations: 33.69 kB / 0.5785 GB, free: 2.941 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.2882, allocations: 215.6 kB / 0.5787 GB, free: 2.727 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/0.2882, allocations: 63.5 kB / 0.5788 GB, free: 2.664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.922e-05/0.2883, allocations: 86.03 kB / 0.5789 GB, free: 2.574 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2884, allocations: 322.8 kB / 0.5792 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.051e-05/0.2885, allocations: 52.83 kB / 0.5792 GB, free: 2.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.2888, allocations: 316.1 kB / 0.5795 GB, free: 1.762 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.2893, allocations: 411.5 kB / 0.5799 GB, free: 1.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2893, allocations: 4 kB / 0.5799 GB, free: 1.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005492/0.2898, allocations: 368.9 kB / 0.5803 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2898, allocations: 8.969 kB / 0.5803 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.2898, allocations: 8 kB / 0.5803 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.2899, allocations: 20 kB / 0.5803 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.2902, allocations: 107.8 kB / 0.5804 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.2902, allocations: 19.92 kB / 0.5804 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.2904, allocations: 12 kB / 0.5804 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.2905, allocations: 28 kB / 0.5805 GB, free: 0.6602 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.0001333/0.2906, allocations: 158.8 kB / 0.5806 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.2907, allocations: 19.91 kB / 0.5806 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.2909, allocations: 151 kB / 0.5808 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.2909, allocations: 3.938 kB / 0.5808 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.2909, allocations: 8 kB / 0.5808 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.291, allocations: 0 / 0.5808 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005403/0.2915, allocations: 410.3 kB / 0.5812 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2915, allocations: 0 / 0.5812 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.2917, allocations: 31.92 kB / 0.5812 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2917, allocations: 4 kB / 0.5812 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2917, allocations: 4 kB / 0.5812 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.2917, allocations: 3.938 kB / 0.5812 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2917, allocations: 0 / 0.5812 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.2919, allocations: 227.8 kB / 0.5814 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.292, allocations: 27.83 kB / 0.5815 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.292, allocations: 4 kB / 0.5815 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.2922, allocations: 7.984 kB / 0.5815 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.2922, allocations: 11.98 kB / 0.5815 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.2922, allocations: 4 kB / 0.5815 GB, free: 15.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.2923, allocations: 152.5 kB / 0.5816 GB, free: 15.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2923, allocations: 4 kB / 0.5816 GB, free: 15.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004555/0.2928, allocations: 95.88 kB / 0.5817 GB, free: 15.27 MB / 430.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.0002653/0.2931, allocations: 174.9 kB / 0.5819 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.2934, allocations: 173.7 kB / 0.5821 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2934, allocations: 0 / 0.5821 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.2934, allocations: 31.92 kB / 0.5821 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.2938, allocations: 51.7 kB / 0.5821 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009442/0.2948, allocations: 0.5401 MB / 0.5827 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.2951, allocations: 0.7322 MB / 0.5834 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.173e-05/0.2952, allocations: 35.44 kB / 0.5834 GB, free: 13.48 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2952, allocations: 0 / 0.5834 GB, free: 13.48 MB / 430.1 MB Notification: Performance of Templates: time 0.005845/0.301, allocations: 3.514 MB / 0.5868 GB, free: 9.965 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.979232255835086]