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.001263/0.001263, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001425/0.001425, allocations: 210.2 kB / 24.53 MB, free: 4.07 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.402/1.402, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.2219/0.2219, allocations: 46.93 MB / 361.6 MB, free: 4.16 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 83.86 kB / 0.497 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3128, allocations: 66.08 MB / 0.5615 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006359/0.3192, allocations: 5.069 MB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005133/0.3243, allocations: 4.598 MB / 0.571 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.3244, allocations: 0 / 0.571 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.3247, allocations: 55.61 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.3267, allocations: 0.6798 MB / 0.5717 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.3271, allocations: 148.1 kB / 0.5718 GB, free: 9.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006002/0.3277, allocations: 382 kB / 0.5722 GB, free: 9.277 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.019e-05/0.3278, allocations: 17.8 kB / 0.5722 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.328, allocations: 159.5 kB / 0.5724 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.3283, allocations: 135.4 kB / 0.5725 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.3283, allocations: 8 kB / 0.5725 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008839/0.3292, allocations: 363.6 kB / 0.5729 GB, free: 8.605 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.661e-05/0.3292, allocations: 47.75 kB / 0.5729 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.3294, allocations: 107.5 kB / 0.573 GB, free: 8.453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006741/0.33, allocations: 440.6 kB / 0.5734 GB, free: 8.023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.33, allocations: 4 kB / 0.5734 GB, free: 8.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3301, allocations: 0 / 0.5734 GB, free: 8.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.3301, allocations: 3.938 kB / 0.5734 GB, free: 8.016 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.001016/0.3311, allocations: 0.5168 MB / 0.5739 GB, free: 7.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3311, allocations: 11.97 kB / 0.5739 GB, free: 7.457 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.91e-05/0.3311, allocations: 8.688 kB / 0.574 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.167e-05/0.3312, allocations: 58.73 kB / 0.574 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.3314, allocations: 32.81 kB / 0.574 GB, free: 7.348 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.3317, allocations: 178.2 kB / 0.5742 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.3319, allocations: 222.7 kB / 0.5744 GB, free: 6.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.3319, allocations: 27.94 kB / 0.5744 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/0.3324, allocations: 330.8 kB / 0.5748 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3325, allocations: 8 kB / 0.5748 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.3325, allocations: 12 kB / 0.5748 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.3325, allocations: 4 kB / 0.5748 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008777/0.3334, allocations: 0.7586 MB / 0.5755 GB, free: 5.719 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.001391/0.3348, allocations: 1.225 MB / 0.5767 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.3351, allocations: 143.4 kB / 0.5769 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.3352, allocations: 72.83 kB / 0.5769 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.3366, allocations: 0.6556 MB / 0.5776 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.3366, allocations: 42.56 kB / 0.5776 GB, free: 3.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.3366, allocations: 0 / 0.5776 GB, free: 3.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006793/0.3373, allocations: 224.3 kB / 0.5778 GB, free: 3.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.3373, allocations: 55.34 kB / 0.5779 GB, free: 3.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.3375, allocations: 214.8 kB / 0.5781 GB, free: 2.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.3376, allocations: 29.7 kB / 0.5781 GB, free: 2.906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.3377, allocations: 219.5 kB / 0.5783 GB, free: 2.688 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.3378, allocations: 55.59 kB / 0.5784 GB, free: 2.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3379, allocations: 86.03 kB / 0.5785 GB, free: 2.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.338, allocations: 326.8 kB / 0.5788 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.731e-05/0.3381, allocations: 56.83 kB / 0.5788 GB, free: 2.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.3384, allocations: 316.1 kB / 0.5791 GB, free: 1.723 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.3389, allocations: 407.5 kB / 0.5795 GB, free: 1.195 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.3389, allocations: 4 kB / 0.5795 GB, free: 1.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005715/0.3395, allocations: 369.2 kB / 0.5799 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3395, allocations: 12 kB / 0.5799 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.3395, allocations: 8 kB / 0.5799 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.3395, allocations: 19.92 kB / 0.5799 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.3399, allocations: 112.4 kB / 0.58 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.3399, allocations: 23.92 kB / 0.58 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.3401, allocations: 20 kB / 0.5801 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.3402, allocations: 27.98 kB / 0.5801 GB, free: 0.6055 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.0001427/0.3403, allocations: 149.6 kB / 0.5802 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.3404, allocations: 15.91 kB / 0.5802 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.3407, allocations: 154.9 kB / 0.5804 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.3407, allocations: 4 kB / 0.5804 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3407, allocations: 0 / 0.5804 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3407, allocations: 0 / 0.5804 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000601/0.3413, allocations: 410.3 kB / 0.5808 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3413, allocations: 8.156 kB / 0.5808 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.3415, allocations: 35.92 kB / 0.5808 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3415, allocations: 0 / 0.5808 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.3415, allocations: 0 / 0.5808 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3415, allocations: 4 kB / 0.5808 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3415, allocations: 0 / 0.5808 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.3417, allocations: 231.8 kB / 0.581 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.3418, allocations: 27.89 kB / 0.5811 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.3418, allocations: 3.938 kB / 0.5811 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.342, allocations: 11.98 kB / 0.5811 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.3421, allocations: 11.92 kB / 0.5811 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.3421, allocations: 8 kB / 0.5811 GB, free: 15.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.3422, allocations: 152.5 kB / 0.5813 GB, free: 15.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3422, allocations: 0 / 0.5813 GB, free: 15.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005118/0.3427, allocations: 95.94 kB / 0.5813 GB, free: 15.23 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.0007486/0.3435, allocations: 0.8221 MB / 0.5821 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.3438, allocations: 173.1 kB / 0.5823 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3438, allocations: 4 kB / 0.5823 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.504e-05/0.3438, allocations: 31.92 kB / 0.5823 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.3443, allocations: 51.69 kB / 0.5824 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.3475, allocations: 2.712 MB / 0.585 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.3479, allocations: 0.7284 MB / 0.5858 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000221/0.3481, allocations: 62.78 kB / 0.5858 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3482, allocations: 67.41 kB / 0.5859 GB, free: 10.19 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3482, allocations: 3.938 kB / 0.5859 GB, free: 10.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.3733, allocations: 6.01 MB / 0.5918 GB, free: 4.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.3, allocations: 8.641 kB / 0.5918 GB, free: 4.289 MB / 430.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] 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: 14.322802416980267]