Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001549/0.001549, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001947/0.001947, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2436/0.2436, allocations: 44.93 MB / 359.6 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.89 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3112, allocations: 65.47 MB / 0.5578 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006566/0.3178, allocations: 4.681 MB / 0.5623 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004913/0.3227, allocations: 4.088 MB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3228, allocations: 0 / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.323, allocations: 51.62 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.3248, allocations: 0.6837 MB / 0.567 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.3252, allocations: 158.9 kB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.3258, allocations: 378.2 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.172e-05/0.3258, allocations: 17.8 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.3261, allocations: 159.3 kB / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.3263, allocations: 131.5 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.3264, allocations: 8 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007514/0.3271, allocations: 327.6 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.488e-05/0.3272, allocations: 43.83 kB / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.3273, allocations: 95.58 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007328/0.3281, allocations: 432.4 kB / 0.5687 GB, free: 12.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3281, allocations: 8 kB / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3281, allocations: 0 / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3281, allocations: 0 / 0.5687 GB, free: 12.27 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.00111/0.3292, allocations: 0.5168 MB / 0.5692 GB, free: 11.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3292, allocations: 12.03 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.938e-05/0.3293, allocations: 4.688 kB / 0.5692 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.527e-05/0.3293, allocations: 58.73 kB / 0.5693 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.3295, allocations: 28.83 kB / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.3298, allocations: 174.2 kB / 0.5695 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.33, allocations: 226.7 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.3301, allocations: 23.94 kB / 0.5697 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.3307, allocations: 0.5066 MB / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3307, allocations: 0 / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.3308, allocations: 12 kB / 0.5702 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.3308, allocations: 11.94 kB / 0.5703 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008789/0.3317, allocations: 0.7508 MB / 0.571 GB, free: 9.766 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.001405/0.3331, allocations: 1.096 MB / 0.5721 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.3334, allocations: 130.8 kB / 0.5722 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.3335, allocations: 73.45 kB / 0.5723 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/0.3349, allocations: 0.64 MB / 0.5729 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.335, allocations: 38.55 kB / 0.5729 GB, free: 7.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.335, allocations: 0 / 0.5729 GB, free: 7.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008204/0.3358, allocations: 225 kB / 0.5731 GB, free: 7.461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3358, allocations: 51.41 kB / 0.5732 GB, free: 7.398 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.336, allocations: 219.9 kB / 0.5734 GB, free: 7.176 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.3361, allocations: 25.7 kB / 0.5734 GB, free: 7.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.3362, allocations: 219.5 kB / 0.5736 GB, free: 6.926 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.3363, allocations: 51.59 kB / 0.5737 GB, free: 6.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3364, allocations: 89.97 kB / 0.5738 GB, free: 6.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3365, allocations: 334.8 kB / 0.5741 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.501e-05/0.3366, allocations: 48.84 kB / 0.5741 GB, free: 6.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.3369, allocations: 320.1 kB / 0.5744 GB, free: 5.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/0.3374, allocations: 411.5 kB / 0.5748 GB, free: 5.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3374, allocations: 4 kB / 0.5748 GB, free: 5.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000607/0.338, allocations: 369.5 kB / 0.5752 GB, free: 5.051 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3381, allocations: 8 kB / 0.5752 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.3381, allocations: 12 kB / 0.5752 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.279e-05/0.3381, allocations: 15.94 kB / 0.5752 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.3385, allocations: 107.8 kB / 0.5753 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/0.3386, allocations: 15.94 kB / 0.5753 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.3388, allocations: 23.98 kB / 0.5754 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.3389, allocations: 24.31 kB / 0.5754 GB, free: 4.848 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.000152/0.339, allocations: 153.6 kB / 0.5755 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.3391, allocations: 15.91 kB / 0.5755 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/0.3395, allocations: 162.8 kB / 0.5757 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.3395, allocations: 4 kB / 0.5757 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3395, allocations: 0 / 0.5757 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.3395, allocations: 3.984 kB / 0.5757 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/0.3401, allocations: 406.1 kB / 0.5761 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3401, allocations: 0 / 0.5761 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.3403, allocations: 27.98 kB / 0.5761 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3403, allocations: 3.938 kB / 0.5761 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.3403, allocations: 3.984 kB / 0.5761 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.3403, allocations: 4 kB / 0.5761 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3403, allocations: 4.031 kB / 0.5761 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.3406, allocations: 228.1 kB / 0.5763 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.3407, allocations: 23.89 kB / 0.5764 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.3407, allocations: 7.938 kB / 0.5764 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.3409, allocations: 16.11 kB / 0.5764 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.341, allocations: 7.984 kB / 0.5764 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.341, allocations: 4 kB / 0.5764 GB, free: 3.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.3411, allocations: 156.5 kB / 0.5766 GB, free: 3.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3411, allocations: 0 / 0.5766 GB, free: 3.559 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000514/0.3416, allocations: 87.94 kB / 0.5766 GB, free: 3.473 MB / 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.0007571/0.3424, allocations: 0.8262 MB / 0.5774 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.3427, allocations: 165.9 kB / 0.5776 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3427, allocations: 3.938 kB / 0.5776 GB, free: 2.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.75e-05/0.3428, allocations: 36.17 kB / 0.5776 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.3432, allocations: 56.22 kB / 0.5777 GB, free: 2.363 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.3464, allocations: 2.719 MB / 0.5803 GB, free: 15.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.3465, allocations: 124.6 kB / 0.5805 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.3467, allocations: 54.84 kB / 0.5805 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.3468, allocations: 67.41 kB / 0.5806 GB, free: 15.05 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3468, allocations: 0 / 0.5806 GB, free: 15.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.3732, allocations: 6.067 MB / 0.5865 GB, free: 9.156 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.84, allocations: 7.625 kB / 0.5865 GB, free: 9.152 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.09602607798297]