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.001861/0.001861, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001541/0.001541, allocations: 209.9 kB / 23.73 MB, free: 4.41 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.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2213/0.2213, allocations: 46.97 MB / 360.9 MB, free: 4.02 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 75.88 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3141, allocations: 66.03 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03184/0.3459, allocations: 24.16 MB / 0.5842 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.3494, allocations: 2.679 MB / 0.5868 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.397e-05/0.3495, allocations: 4 kB / 0.5868 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.3497, allocations: 47.62 kB / 0.5869 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.3515, allocations: 0.7422 MB / 0.5876 GB, free: 8.465 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.3519, allocations: 139.3 kB / 0.5877 GB, free: 8.332 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005515/0.3524, allocations: 374.1 kB / 0.5881 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.349e-05/0.3525, allocations: 9.797 kB / 0.5881 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03472/0.3872, allocations: 15.34 MB / 0.6031 GB, free: 8.516 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/0.3877, allocations: 147.4 kB / 0.6032 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.3877, allocations: 8 kB / 0.6032 GB, free: 8.363 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008245/0.396, allocations: 3.371 MB / 0.6065 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3961, allocations: 47.77 kB / 0.6066 GB, free: 4.914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.3962, allocations: 91.64 kB / 0.6067 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008778/0.3971, allocations: 458.5 kB / 0.6071 GB, free: 4.375 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3971, allocations: 4 kB / 0.6071 GB, free: 4.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3971, allocations: 0 / 0.6071 GB, free: 4.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3971, allocations: 0 / 0.6071 GB, free: 4.371 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.00112/0.3982, allocations: 0.5246 MB / 0.6076 GB, free: 3.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3982, allocations: 8.031 kB / 0.6076 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.3983, allocations: 62.73 kB / 0.6077 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.3985, allocations: 32.78 kB / 0.6077 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.3988, allocations: 182.1 kB / 0.6079 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.399, allocations: 230.7 kB / 0.6081 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.399, allocations: 23.94 kB / 0.6081 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.3997, allocations: 493 kB / 0.6086 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3997, allocations: 3.938 kB / 0.6086 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.3997, allocations: 8 kB / 0.6086 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.3997, allocations: 8 kB / 0.6086 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008968/0.4006, allocations: 0.7195 MB / 0.6093 GB, free: 1.922 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.001433/0.4021, allocations: 1.089 MB / 0.6104 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.4024, allocations: 147.8 kB / 0.6105 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.4026, allocations: 81.47 kB / 0.6106 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00157/0.4041, allocations: 0.7115 MB / 0.6113 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.4042, allocations: 34.56 kB / 0.6113 GB, free: 15.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.4042, allocations: 0 / 0.6113 GB, free: 15.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003001/0.4045, allocations: 121.4 kB / 0.6114 GB, free: 15.63 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.4045, allocations: 55.41 kB / 0.6115 GB, free: 15.56 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.4047, allocations: 238.6 kB / 0.6117 GB, free: 15.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.4048, allocations: 29.7 kB / 0.6117 GB, free: 15.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.4049, allocations: 227.4 kB / 0.612 GB, free: 15.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.405, allocations: 43.69 kB / 0.612 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.4051, allocations: 93.95 kB / 0.6121 GB, free: 14.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4052, allocations: 326.8 kB / 0.6124 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/0.4053, allocations: 48.83 kB / 0.6125 GB, free: 14.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.4056, allocations: 343.2 kB / 0.6128 GB, free: 14.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/0.4061, allocations: 444.6 kB / 0.6132 GB, free: 13.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4061, allocations: 0 / 0.6132 GB, free: 13.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005648/0.4067, allocations: 381 kB / 0.6136 GB, free: 13.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4067, allocations: 8.969 kB / 0.6136 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.4067, allocations: 15.94 kB / 0.6136 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.4067, allocations: 16 kB / 0.6136 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.407, allocations: 103.8 kB / 0.6137 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/0.407, allocations: 19.92 kB / 0.6137 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.4072, allocations: 55.67 kB / 0.6138 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.4073, allocations: 31.98 kB / 0.6138 GB, free: 12.85 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.00013/0.4074, allocations: 149.6 kB / 0.614 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.4075, allocations: 19.86 kB / 0.614 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.4077, allocations: 148.9 kB / 0.6141 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.4078, allocations: 4 kB / 0.6141 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4078, allocations: 0 / 0.6141 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4078, allocations: 0 / 0.6141 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.4083, allocations: 384 kB / 0.6145 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.4083, allocations: 7.938 kB / 0.6145 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.4083, allocations: 20.09 kB / 0.6145 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4083, allocations: 0 / 0.6145 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.4083, allocations: 4 kB / 0.6145 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4083, allocations: 0 / 0.6145 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4083, allocations: 7.938 kB / 0.6145 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.4085, allocations: 205.8 kB / 0.6147 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.4086, allocations: 19.89 kB / 0.6147 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.4086, allocations: 7.938 kB / 0.6147 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.4088, allocations: 8 kB / 0.6148 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.4088, allocations: 7.922 kB / 0.6148 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.4088, allocations: 8 kB / 0.6148 GB, free: 11.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.4089, allocations: 156.5 kB / 0.6149 GB, free: 11.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4089, allocations: 4 kB / 0.6149 GB, free: 11.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004741/0.4094, allocations: 87.89 kB / 0.615 GB, free: 11.52 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.0007098/0.4101, allocations: 0.8005 MB / 0.6158 GB, free: 10.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.4104, allocations: 160.6 kB / 0.6159 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4104, allocations: 0 / 0.6159 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.268e-05/0.4105, allocations: 29.67 kB / 0.616 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.4109, allocations: 52.7 kB / 0.616 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.4141, allocations: 2.816 MB / 0.6188 GB, free: 7.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.4142, allocations: 116.5 kB / 0.6189 GB, free: 7.113 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.4144, allocations: 50.92 kB / 0.6189 GB, free: 7.062 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.431e-05/0.4145, allocations: 63.41 kB / 0.619 GB, free: 7 MB / 462.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4145, allocations: 4 kB / 0.619 GB, free: 6.996 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.446, allocations: 5.879 MB / 0.6247 GB, free: 1.273 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.54, allocations: 2.75 kB / 0.6247 GB, free: 1.273 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: 14.49203095305711]