Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.001801/0.001801, 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.002221/0.002221, 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.414/1.414, 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.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.2223/0.2223, allocations: 46.96 MB / 361.7 MB, free: 4.125 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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 63.91 kB / 0.4969 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3069, allocations: 66.03 MB / 0.5614 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03145/0.3384, allocations: 24.14 MB / 0.585 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003597/0.342, allocations: 2.664 MB / 0.5876 GB, free: 9.168 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3421, allocations: 3.938 kB / 0.5876 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.3424, allocations: 47.69 kB / 0.5876 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00227/0.3447, allocations: 0.746 MB / 0.5883 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.345, allocations: 139.5 kB / 0.5885 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005958/0.3456, allocations: 378.1 kB / 0.5888 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.526e-05/0.3457, allocations: 5.812 kB / 0.5888 GB, free: 7.859 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03772/0.3834, allocations: 15.33 MB / 0.6038 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000354/0.3838, allocations: 155.4 kB / 0.604 GB, free: 8.266 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.3838, allocations: 8 kB / 0.604 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00888/0.3927, allocations: 3.375 MB / 0.6073 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3928, allocations: 47.77 kB / 0.6073 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.3929, allocations: 95.58 kB / 0.6074 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008402/0.3938, allocations: 458.6 kB / 0.6078 GB, free: 4.262 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3938, allocations: 0 / 0.6078 GB, free: 4.262 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3938, allocations: 0 / 0.6078 GB, free: 4.262 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.3938, allocations: 0 / 0.6078 GB, free: 4.262 MB / 446.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.001198/0.395, allocations: 0.5246 MB / 0.6084 GB, free: 3.707 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.395, allocations: 8.031 kB / 0.6084 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.335e-05/0.3951, allocations: 16.69 kB / 0.6084 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.426e-05/0.3951, allocations: 74.53 kB / 0.6085 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.3953, allocations: 28.8 kB / 0.6085 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.3955, allocations: 162.2 kB / 0.6086 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.3957, allocations: 234.4 kB / 0.6089 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.3958, allocations: 24 kB / 0.6089 GB, free: 3.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.3964, allocations: 489 kB / 0.6093 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3965, allocations: 8 kB / 0.6094 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.3965, allocations: 4 kB / 0.6094 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.3965, allocations: 12 kB / 0.6094 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009271/0.3974, allocations: 0.7586 MB / 0.6101 GB, free: 1.766 MB / 446.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.00138/0.3988, allocations: 1.089 MB / 0.6112 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.3992, allocations: 147.8 kB / 0.6113 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.3993, allocations: 81.47 kB / 0.6114 GB, free: 380 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/0.4008, allocations: 0.7115 MB / 0.6121 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.05e-05/0.4009, allocations: 34.56 kB / 0.6121 GB, free: 15.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.4009, allocations: 0 / 0.6121 GB, free: 15.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002888/0.4012, allocations: 125.7 kB / 0.6122 GB, free: 15.47 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.4012, allocations: 55.34 kB / 0.6123 GB, free: 15.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.4015, allocations: 226.7 kB / 0.6125 GB, free: 15.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.4015, allocations: 29.7 kB / 0.6125 GB, free: 15.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.4017, allocations: 223.5 kB / 0.6128 GB, free: 14.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.4017, allocations: 43.69 kB / 0.6128 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.4018, allocations: 90.02 kB / 0.6129 GB, free: 14.78 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.402, allocations: 326.8 kB / 0.6132 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.4021, allocations: 48.83 kB / 0.6132 GB, free: 14.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.4024, allocations: 347.2 kB / 0.6136 GB, free: 13.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.4029, allocations: 440.6 kB / 0.614 GB, free: 13.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.4029, allocations: 0 / 0.614 GB, free: 13.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006031/0.4035, allocations: 381.8 kB / 0.6144 GB, free: 12.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4035, allocations: 11.94 kB / 0.6144 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.4035, allocations: 16.12 kB / 0.6144 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.4036, allocations: 15.98 kB / 0.6144 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.4038, allocations: 99.78 kB / 0.6145 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/0.4038, allocations: 19.92 kB / 0.6145 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.4041, allocations: 59.56 kB / 0.6146 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.4041, allocations: 28 kB / 0.6146 GB, free: 12.71 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001968/0.4043, allocations: 149.6 kB / 0.6147 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.4044, allocations: 23.8 kB / 0.6148 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.4047, allocations: 148.5 kB / 0.6149 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.4047, allocations: 4 kB / 0.6149 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4047, allocations: 0 / 0.6149 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.4047, allocations: 0 / 0.6149 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/0.4053, allocations: 380 kB / 0.6153 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4053, allocations: 4.031 kB / 0.6153 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.4054, allocations: 16 kB / 0.6153 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4054, allocations: 0 / 0.6153 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4055, allocations: 12 kB / 0.6153 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.4055, allocations: 3.984 kB / 0.6153 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4055, allocations: 3.938 kB / 0.6153 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.4057, allocations: 205.9 kB / 0.6155 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.4058, allocations: 23.83 kB / 0.6155 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.4058, allocations: 8 kB / 0.6155 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.4059, allocations: 0 / 0.6155 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.406, allocations: 11.98 kB / 0.6155 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.406, allocations: 4 kB / 0.6155 GB, free: 11.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.4061, allocations: 156.5 kB / 0.6157 GB, free: 11.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4061, allocations: 0 / 0.6157 GB, free: 11.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005143/0.4066, allocations: 107.8 kB / 0.6158 GB, free: 11.37 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0007019/0.4073, allocations: 0.7773 MB / 0.6166 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.4076, allocations: 170.1 kB / 0.6167 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4076, allocations: 0 / 0.6167 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.031e-05/0.4077, allocations: 23.94 kB / 0.6167 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.4081, allocations: 53.03 kB / 0.6168 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.4115, allocations: 2.816 MB / 0.6195 GB, free: 7.109 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.4116, allocations: 112.5 kB / 0.6196 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.4118, allocations: 58.84 kB / 0.6197 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.361e-05/0.4119, allocations: 67.41 kB / 0.6198 GB, free: 6.852 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4119, allocations: 0 / 0.6198 GB, free: 6.852 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.4397, allocations: 5.642 MB / 0.6253 GB, free: 1.402 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.93, allocations: 7.922 kB / 0.6253 GB, free: 1.395 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.067153643001802]