Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001825/0.001825, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002215/0.002215, allocations: 216 kB / 23.75 MB, free: 4.668 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2257/0.2257, allocations: 46.93 MB / 360.8 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 75.88 kB / 0.4962 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3148, allocations: 66.03 MB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007389/0.3222, allocations: 5.076 MB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005427/0.3276, allocations: 4.598 MB / 0.5701 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.3278, allocations: 4 kB / 0.5701 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.3281, allocations: 59.59 kB / 0.5702 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.33, allocations: 0.6759 MB / 0.5709 GB, free: 10 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.3303, allocations: 151.2 kB / 0.571 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006377/0.331, allocations: 378.1 kB / 0.5714 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.746e-05/0.3311, allocations: 13.8 kB / 0.5714 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.3314, allocations: 155.4 kB / 0.5715 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.3317, allocations: 135.5 kB / 0.5716 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.3317, allocations: 12 kB / 0.5717 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009833/0.3327, allocations: 371.5 kB / 0.572 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.324e-05/0.3328, allocations: 39.83 kB / 0.5721 GB, free: 8.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.3329, allocations: 103.5 kB / 0.5722 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009443/0.3339, allocations: 448.4 kB / 0.5726 GB, free: 8.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3339, allocations: 0 / 0.5726 GB, free: 8.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3339, allocations: 0 / 0.5726 GB, free: 8.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.3339, allocations: 0 / 0.5726 GB, free: 8.23 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.00112/0.335, allocations: 0.5207 MB / 0.5731 GB, free: 7.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3351, allocations: 12.03 kB / 0.5731 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.974e-05/0.3351, allocations: 62.72 kB / 0.5732 GB, free: 7.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.3353, allocations: 28.78 kB / 0.5732 GB, free: 7.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.3357, allocations: 170.2 kB / 0.5733 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.3359, allocations: 226.7 kB / 0.5736 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.3359, allocations: 28.12 kB / 0.5736 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.3364, allocations: 330.9 kB / 0.5739 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3365, allocations: 3.938 kB / 0.5739 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.3365, allocations: 12 kB / 0.5739 GB, free: 6.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.3365, allocations: 8 kB / 0.5739 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008668/0.3374, allocations: 0.7586 MB / 0.5747 GB, free: 5.945 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.001464/0.3388, allocations: 1.225 MB / 0.5759 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.3392, allocations: 151.2 kB / 0.576 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.3393, allocations: 64.83 kB / 0.5761 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001461/0.3408, allocations: 0.6672 MB / 0.5767 GB, free: 3.719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3408, allocations: 34.5 kB / 0.5768 GB, free: 3.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.3408, allocations: 0 / 0.5768 GB, free: 3.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007031/0.3415, allocations: 225.1 kB / 0.577 GB, free: 3.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3416, allocations: 59.34 kB / 0.577 GB, free: 3.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.3418, allocations: 214.8 kB / 0.5772 GB, free: 3.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.3418, allocations: 29.7 kB / 0.5773 GB, free: 3.125 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3419, allocations: 219.5 kB / 0.5775 GB, free: 2.906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.342, allocations: 51.59 kB / 0.5775 GB, free: 2.855 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3421, allocations: 86.03 kB / 0.5776 GB, free: 2.766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3423, allocations: 326.8 kB / 0.5779 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.3423, allocations: 52.83 kB / 0.578 GB, free: 2.383 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.3426, allocations: 316.1 kB / 0.5783 GB, free: 1.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.3431, allocations: 415.5 kB / 0.5787 GB, free: 1.414 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3431, allocations: 4 kB / 0.5787 GB, free: 1.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005651/0.3437, allocations: 369.7 kB / 0.579 GB, free: 1.043 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3437, allocations: 8 kB / 0.579 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.3437, allocations: 12 kB / 0.579 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.3437, allocations: 15.94 kB / 0.5791 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.3441, allocations: 107.8 kB / 0.5792 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.3441, allocations: 15.94 kB / 0.5792 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.3444, allocations: 20 kB / 0.5792 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.3444, allocations: 31.92 kB / 0.5792 GB, free: 0.8359 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.0001383/0.3445, allocations: 157.7 kB / 0.5794 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.3446, allocations: 15.91 kB / 0.5794 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.3449, allocations: 154.9 kB / 0.5795 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.3449, allocations: 7.938 kB / 0.5795 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3449, allocations: 0 / 0.5795 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3449, allocations: 0 / 0.5795 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/0.3455, allocations: 402.3 kB / 0.5799 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3455, allocations: 3.938 kB / 0.5799 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.3457, allocations: 31.98 kB / 0.58 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.3457, allocations: 4 kB / 0.58 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3457, allocations: 4.031 kB / 0.58 GB, free: 0 / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.248e-05/0.3457, allocations: 4.188 kB / 0.58 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.3457, allocations: 11.94 kB / 0.58 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.3459, allocations: 220 kB / 0.5802 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/0.346, allocations: 23.83 kB / 0.5802 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.3461, allocations: 7.938 kB / 0.5802 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3462, allocations: 7.984 kB / 0.5802 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.3463, allocations: 15.98 kB / 0.5802 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.3463, allocations: 8 kB / 0.5803 GB, free: 15.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.3464, allocations: 148.5 kB / 0.5804 GB, free: 15.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3464, allocations: 3.938 kB / 0.5804 GB, free: 15.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004878/0.3469, allocations: 99.92 kB / 0.5805 GB, free: 15.44 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.0007625/0.3477, allocations: 0.8183 MB / 0.5813 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003504/0.348, allocations: 169.7 kB / 0.5815 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/0.348, allocations: 8.312 kB / 0.5815 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.225e-05/0.3481, allocations: 35.86 kB / 0.5815 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.3486, allocations: 48.33 kB / 0.5815 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.3518, allocations: 2.712 MB / 0.5842 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.3521, allocations: 0.7285 MB / 0.5849 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.3524, allocations: 54.84 kB / 0.585 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.3525, allocations: 67.41 kB / 0.585 GB, free: 10.41 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3525, allocations: 0 / 0.585 GB, free: 10.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.386, allocations: 5.994 MB / 0.5909 GB, free: 4.562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.46, allocations: 2.922 kB / 0.5909 GB, free: 4.562 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.418643201934174]