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.001765/0.001765, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.002252/0.002252, allocations: 214.3 kB / 23.75 MB, free: 4.672 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.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2265/0.2265, allocations: 46.93 MB / 360.8 MB, free: 4.18 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 79.88 kB / 0.4962 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3218, allocations: 66.08 MB / 0.5608 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007101/0.3289, allocations: 5.081 MB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00577/0.3346, allocations: 4.582 MB / 0.5702 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.3348, allocations: 8 kB / 0.5702 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.3351, allocations: 59.59 kB / 0.5703 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002263/0.3374, allocations: 0.6759 MB / 0.5709 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.3379, allocations: 154.1 kB / 0.5711 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006956/0.3386, allocations: 378 kB / 0.5714 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.791e-05/0.3386, allocations: 17.78 kB / 0.5715 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.3389, allocations: 159.4 kB / 0.5716 GB, free: 9.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.3392, allocations: 127.5 kB / 0.5717 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.3392, allocations: 12 kB / 0.5717 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.3402, allocations: 367.5 kB / 0.5721 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.789e-05/0.3403, allocations: 51.75 kB / 0.5721 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.3405, allocations: 115.4 kB / 0.5722 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008632/0.3413, allocations: 432.4 kB / 0.5727 GB, free: 8.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3414, allocations: 0 / 0.5727 GB, free: 8.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3414, allocations: 0 / 0.5727 GB, free: 8.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3414, allocations: 0 / 0.5727 GB, free: 8.059 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.001191/0.3426, allocations: 0.5363 MB / 0.5732 GB, free: 7.492 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3426, allocations: 8.031 kB / 0.5732 GB, free: 7.484 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.673e-05/0.3427, allocations: 54.73 kB / 0.5732 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.3428, allocations: 24.84 kB / 0.5733 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.3432, allocations: 178.2 kB / 0.5734 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.3435, allocations: 222.7 kB / 0.5736 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.3435, allocations: 24.12 kB / 0.5737 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006037/0.3441, allocations: 338.8 kB / 0.574 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3441, allocations: 0 / 0.574 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.3442, allocations: 12 kB / 0.574 GB, free: 6.539 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.3442, allocations: 4 kB / 0.574 GB, free: 6.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009285/0.3451, allocations: 0.7547 MB / 0.5747 GB, free: 5.777 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.001463/0.3466, allocations: 1.237 MB / 0.576 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.3469, allocations: 131.5 kB / 0.5761 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.347, allocations: 76.75 kB / 0.5762 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/0.3485, allocations: 0.6556 MB / 0.5768 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3485, allocations: 38.56 kB / 0.5768 GB, free: 3.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.3485, allocations: 0 / 0.5768 GB, free: 3.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007388/0.3493, allocations: 231.3 kB / 0.5771 GB, free: 3.277 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.3493, allocations: 59.39 kB / 0.5771 GB, free: 3.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.3495, allocations: 210.8 kB / 0.5773 GB, free: 2.992 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.3496, allocations: 29.7 kB / 0.5773 GB, free: 2.957 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3497, allocations: 211.5 kB / 0.5775 GB, free: 2.746 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.3498, allocations: 55.58 kB / 0.5776 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.3499, allocations: 86.03 kB / 0.5777 GB, free: 2.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3501, allocations: 330.8 kB / 0.578 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.3501, allocations: 56.84 kB / 0.578 GB, free: 2.211 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.3505, allocations: 312.1 kB / 0.5783 GB, free: 1.781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.351, allocations: 419.4 kB / 0.5787 GB, free: 1.242 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.351, allocations: 4 kB / 0.5787 GB, free: 1.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005886/0.3515, allocations: 365.8 kB / 0.5791 GB, free: 0.875 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.3516, allocations: 12 kB / 0.5791 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.3516, allocations: 8 kB / 0.5791 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/0.3516, allocations: 19.92 kB / 0.5791 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.352, allocations: 111.8 kB / 0.5792 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.352, allocations: 19.92 kB / 0.5793 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.3522, allocations: 16 kB / 0.5793 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.3522, allocations: 31.94 kB / 0.5793 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.0001387/0.3524, allocations: 149.7 kB / 0.5794 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.3524, allocations: 15.91 kB / 0.5795 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.3527, allocations: 146.9 kB / 0.5796 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.3527, allocations: 11.94 kB / 0.5796 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3528, allocations: 3.984 kB / 0.5796 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3528, allocations: 0 / 0.5796 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/0.3534, allocations: 406.3 kB / 0.58 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3534, allocations: 3.938 kB / 0.58 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.3535, allocations: 35.91 kB / 0.58 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3535, allocations: 0 / 0.58 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3535, allocations: 4 kB / 0.58 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3536, allocations: 8.156 kB / 0.5801 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3536, allocations: 4 kB / 0.5801 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.3538, allocations: 215.9 kB / 0.5803 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.3539, allocations: 31.81 kB / 0.5803 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.3539, allocations: 7.938 kB / 0.5803 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3541, allocations: 8 kB / 0.5803 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.3542, allocations: 11.98 kB / 0.5803 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.3542, allocations: 7.984 kB / 0.5803 GB, free: 15.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.3543, allocations: 156.4 kB / 0.5805 GB, free: 15.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3543, allocations: 0 / 0.5805 GB, free: 15.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005031/0.3548, allocations: 99.92 kB / 0.5806 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.000832/0.3556, allocations: 0.8145 MB / 0.5814 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.356, allocations: 177.8 kB / 0.5815 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.356, allocations: 192 / 0.5815 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.356, allocations: 35.92 kB / 0.5816 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.3565, allocations: 47.72 kB / 0.5816 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.36, allocations: 2.712 MB / 0.5843 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.3604, allocations: 0.7285 MB / 0.585 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002157/0.3606, allocations: 58.78 kB / 0.585 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.3607, allocations: 63.41 kB / 0.5851 GB, free: 10.25 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3607, allocations: 0 / 0.5851 GB, free: 10.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.395, allocations: 5.986 MB / 0.5909 GB, free: 4.375 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.67, allocations: 11.94 kB / 0.591 GB, free: 4.363 MB / 430.1 MB " [Timeout remaining time 648] (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.652612688951194]