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.001759/0.001759, allocations: 112.2 kB / 21.22 MB, free: 0.7266 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.001506/0.001506, allocations: 208.2 kB / 24.52 MB, free: 4.066 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2241/0.2241, allocations: 44.91 MB / 359.6 MB, free: 6.32 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.002106/0.002106, allocations: 67.84 kB / 0.4939 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3186, allocations: 65.48 MB / 0.5578 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007238/0.3258, allocations: 5.076 MB / 0.5628 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005423/0.3313, allocations: 4.59 MB / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.3314, allocations: 7.938 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.3317, allocations: 55.61 kB / 0.5673 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.3335, allocations: 0.6759 MB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.3339, allocations: 151.2 kB / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006238/0.3345, allocations: 382.1 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.3346, allocations: 17.8 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.3349, allocations: 151.5 kB / 0.5687 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.3351, allocations: 131.5 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.3351, allocations: 8 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008517/0.336, allocations: 371.5 kB / 0.5691 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.3361, allocations: 43.81 kB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.3362, allocations: 107.5 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008198/0.337, allocations: 436.6 kB / 0.5697 GB, free: 11.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.337, allocations: 7.984 kB / 0.5697 GB, free: 11.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.337, allocations: 0 / 0.5697 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.337, allocations: 0 / 0.5697 GB, free: 11.57 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.001101/0.3381, allocations: 0.5246 MB / 0.5702 GB, free: 11.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3382, allocations: 8.031 kB / 0.5702 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.679e-05/0.3382, allocations: 12.62 kB / 0.5702 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.384e-05/0.3383, allocations: 62.73 kB / 0.5703 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.3384, allocations: 32.83 kB / 0.5703 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.3387, allocations: 166.2 kB / 0.5705 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.3389, allocations: 230.7 kB / 0.5707 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.339, allocations: 27.94 kB / 0.5707 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.3395, allocations: 334.8 kB / 0.5711 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3395, allocations: 0 / 0.5711 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3396, allocations: 12 kB / 0.5711 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.3396, allocations: 8 kB / 0.5711 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008813/0.3405, allocations: 0.7586 MB / 0.5718 GB, free: 9.266 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.001424/0.3419, allocations: 1.229 MB / 0.573 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.3423, allocations: 138.9 kB / 0.5732 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.3424, allocations: 65.45 kB / 0.5732 GB, free: 7.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/0.3438, allocations: 0.6672 MB / 0.5739 GB, free: 7.043 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3438, allocations: 30.56 kB / 0.5739 GB, free: 7.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.3438, allocations: 0 / 0.5739 GB, free: 7.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007219/0.3445, allocations: 232.8 kB / 0.5741 GB, free: 6.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.3446, allocations: 51.41 kB / 0.5742 GB, free: 6.711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.3448, allocations: 215.9 kB / 0.5744 GB, free: 6.492 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.3448, allocations: 29.7 kB / 0.5744 GB, free: 6.457 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.3449, allocations: 219.5 kB / 0.5746 GB, free: 6.238 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.345, allocations: 55.58 kB / 0.5747 GB, free: 6.184 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3451, allocations: 89.97 kB / 0.5748 GB, free: 6.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3453, allocations: 326.8 kB / 0.5751 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3454, allocations: 48.83 kB / 0.5751 GB, free: 5.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.3457, allocations: 316.1 kB / 0.5754 GB, free: 5.273 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.3462, allocations: 415.5 kB / 0.5758 GB, free: 4.738 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3462, allocations: 4 kB / 0.5758 GB, free: 4.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000604/0.3468, allocations: 369.9 kB / 0.5762 GB, free: 4.367 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3468, allocations: 8 kB / 0.5762 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.3468, allocations: 12 kB / 0.5762 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.3468, allocations: 20 kB / 0.5762 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.3472, allocations: 103.8 kB / 0.5763 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.323e-05/0.3472, allocations: 23.86 kB / 0.5763 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.3474, allocations: 20 kB / 0.5763 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.3475, allocations: 24 kB / 0.5764 GB, free: 4.16 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.0001479/0.3476, allocations: 161.5 kB / 0.5765 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.3477, allocations: 15.91 kB / 0.5765 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.348, allocations: 154.9 kB / 0.5767 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.348, allocations: 7.984 kB / 0.5767 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.348, allocations: 0 / 0.5767 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.348, allocations: 0 / 0.5767 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.3486, allocations: 410.3 kB / 0.5771 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3486, allocations: 0 / 0.5771 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.3488, allocations: 35.92 kB / 0.5771 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.3488, allocations: 4 kB / 0.5771 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.3488, allocations: 0 / 0.5771 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3488, allocations: 0 / 0.5771 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3488, allocations: 4 kB / 0.5771 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.349, allocations: 228.2 kB / 0.5773 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.3491, allocations: 19.89 kB / 0.5774 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.3491, allocations: 7.938 kB / 0.5774 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.3493, allocations: 7.984 kB / 0.5774 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.3494, allocations: 15.97 kB / 0.5774 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.3494, allocations: 8 kB / 0.5774 GB, free: 3.016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.3495, allocations: 152.5 kB / 0.5775 GB, free: 2.867 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3495, allocations: 0 / 0.5775 GB, free: 2.867 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005045/0.35, allocations: 95.94 kB / 0.5776 GB, free: 2.773 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.0007929/0.3508, allocations: 0.8143 MB / 0.5784 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.3512, allocations: 181.7 kB / 0.5786 GB, free: 1.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3512, allocations: 4 kB / 0.5786 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.946e-05/0.3512, allocations: 31.92 kB / 0.5786 GB, free: 1.723 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.3517, allocations: 60.77 kB / 0.5787 GB, free: 1.664 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.3551, allocations: 2.712 MB / 0.5813 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.3555, allocations: 0.7323 MB / 0.5821 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002351/0.3558, allocations: 58.83 kB / 0.5821 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.3559, allocations: 71.41 kB / 0.5822 GB, free: 13.72 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3559, allocations: 0 / 0.5822 GB, free: 13.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.382, allocations: 6.001 MB / 0.588 GB, free: 7.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.72, allocations: 7.031 kB / 0.5881 GB, free: 7.875 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: 14.871406546037178]