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.00163/0.00163, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.001989/0.001989, allocations: 209.2 kB / 24.52 MB, free: 3.91 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.409/1.409, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.2206/0.2206, allocations: 46.95 MB / 361.6 MB, free: 3.926 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.002776/0.002776, allocations: 79.88 kB / 0.4969 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3196, allocations: 66.09 MB / 0.5615 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.00701/0.3267, allocations: 4.693 MB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005093/0.3317, allocations: 4.072 MB / 0.57 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.3319, allocations: 0 / 0.57 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.3322, allocations: 55.61 kB / 0.5701 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.3341, allocations: 0.6798 MB / 0.5708 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.3345, allocations: 151.9 kB / 0.5709 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000686/0.3352, allocations: 378.1 kB / 0.5713 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.69e-05/0.3353, allocations: 17.78 kB / 0.5713 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00033/0.3356, allocations: 159.5 kB / 0.5714 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.3359, allocations: 123.5 kB / 0.5715 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.3359, allocations: 8 kB / 0.5716 GB, free: 9.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008479/0.3368, allocations: 335.5 kB / 0.5719 GB, free: 9.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.3369, allocations: 43.81 kB / 0.5719 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.337, allocations: 91.66 kB / 0.572 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009379/0.338, allocations: 436.4 kB / 0.5724 GB, free: 8.719 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.338, allocations: 4 kB / 0.5724 GB, free: 8.715 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.338, allocations: 0 / 0.5724 GB, free: 8.715 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.338, allocations: 0 / 0.5724 GB, free: 8.715 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.001134/0.3391, allocations: 0.5207 MB / 0.5729 GB, free: 8.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3391, allocations: 8.031 kB / 0.5729 GB, free: 8.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.244e-05/0.3392, allocations: 8.688 kB / 0.5729 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.025e-05/0.3392, allocations: 62.72 kB / 0.573 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.3394, allocations: 24.84 kB / 0.573 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.3397, allocations: 178.2 kB / 0.5732 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.3399, allocations: 222.7 kB / 0.5734 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.34, allocations: 27.94 kB / 0.5734 GB, free: 7.559 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006936/0.3407, allocations: 0.5066 MB / 0.5739 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3407, allocations: 0 / 0.5739 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.3407, allocations: 8 kB / 0.5739 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.3407, allocations: 8 kB / 0.5739 GB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009029/0.3416, allocations: 0.7547 MB / 0.5747 GB, free: 6.207 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.001429/0.3431, allocations: 1.084 MB / 0.5757 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.3434, allocations: 135.5 kB / 0.5759 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.3435, allocations: 76.75 kB / 0.5759 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/0.345, allocations: 0.6478 MB / 0.5766 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.345, allocations: 38.5 kB / 0.5766 GB, free: 4.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.345, allocations: 0 / 0.5766 GB, free: 4.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007418/0.3458, allocations: 228.7 kB / 0.5768 GB, free: 3.898 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.3458, allocations: 55.41 kB / 0.5769 GB, free: 3.832 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.346, allocations: 210.8 kB / 0.5771 GB, free: 3.617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.346, allocations: 29.7 kB / 0.5771 GB, free: 3.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.3462, allocations: 215.5 kB / 0.5773 GB, free: 3.367 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.3462, allocations: 55.58 kB / 0.5774 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.3464, allocations: 90.03 kB / 0.5775 GB, free: 3.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3465, allocations: 330.8 kB / 0.5778 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.3466, allocations: 48.83 kB / 0.5778 GB, free: 2.836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.347, allocations: 324.1 kB / 0.5781 GB, free: 2.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/0.3474, allocations: 407.5 kB / 0.5785 GB, free: 1.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.3474, allocations: 0 / 0.5785 GB, free: 1.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006149/0.3481, allocations: 377.5 kB / 0.5789 GB, free: 1.492 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3481, allocations: 8 kB / 0.5789 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.3481, allocations: 8 kB / 0.5789 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.3481, allocations: 19.94 kB / 0.5789 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.3485, allocations: 103.8 kB / 0.579 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.3485, allocations: 19.92 kB / 0.579 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.3487, allocations: 19.94 kB / 0.5791 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.3488, allocations: 28.31 kB / 0.5791 GB, free: 1.289 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.0001444/0.3489, allocations: 154.9 kB / 0.5792 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.349, allocations: 19.91 kB / 0.5792 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.3493, allocations: 158.8 kB / 0.5794 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.3493, allocations: 4 kB / 0.5794 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3493, allocations: 0 / 0.5794 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3493, allocations: 0 / 0.5794 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.3499, allocations: 398.3 kB / 0.5798 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3499, allocations: 0 / 0.5798 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.3501, allocations: 39.91 kB / 0.5798 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3501, allocations: 4 kB / 0.5798 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3501, allocations: 0 / 0.5798 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3501, allocations: 0 / 0.5798 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3501, allocations: 8.031 kB / 0.5798 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.3504, allocations: 220.3 kB / 0.58 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.3504, allocations: 23.88 kB / 0.5801 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.3505, allocations: 15.94 kB / 0.5801 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.3507, allocations: 4 kB / 0.5801 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.3507, allocations: 15.97 kB / 0.5801 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.3507, allocations: 11.97 kB / 0.5801 GB, free: 152 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.3508, allocations: 148.5 kB / 0.5803 GB, free: 4 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3508, allocations: 4.047 kB / 0.5803 GB, free: 16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005007/0.3513, allocations: 99.88 kB / 0.5803 GB, free: 15.9 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.0007968/0.3521, allocations: 0.8176 MB / 0.5811 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.3525, allocations: 173.9 kB / 0.5813 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.3525, allocations: 0 / 0.5813 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.3526, allocations: 40.05 kB / 0.5814 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.353, allocations: 48.33 kB / 0.5814 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.3563, allocations: 2.712 MB / 0.584 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.3565, allocations: 116.6 kB / 0.5842 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002145/0.3567, allocations: 62.66 kB / 0.5842 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.3568, allocations: 75.41 kB / 0.5843 GB, free: 11.48 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3568, allocations: 0 / 0.5843 GB, free: 11.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/0.3897, allocations: 6.064 MB / 0.5902 GB, free: 5.562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.62, allocations: 11.44 kB / 0.5902 GB, free: 5.555 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.833529679919593]