Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 109.1 kB / 21.22 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 209.3 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 46.95 MB / 361.6 MB, free: 3.957 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 79.88 kB / 0.4969 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3116, allocations: 66.08 MB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03191/0.3435, allocations: 24.14 MB / 0.585 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.3472, allocations: 2.656 MB / 0.5876 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.3473, allocations: 7.938 kB / 0.5877 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.3477, allocations: 51.66 kB / 0.5877 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.3501, allocations: 0.7461 MB / 0.5884 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.3504, allocations: 131 kB / 0.5886 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006158/0.3511, allocations: 378.1 kB / 0.5889 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.3511, allocations: 9.812 kB / 0.5889 GB, free: 7.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03898/0.3901, allocations: 15.34 MB / 0.6039 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003817/0.3905, allocations: 155.4 kB / 0.604 GB, free: 8.219 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.3905, allocations: 11.94 kB / 0.6041 GB, free: 8.207 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008236/0.3987, allocations: 3.379 MB / 0.6074 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.3988, allocations: 43.77 kB / 0.6074 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.399, allocations: 95.58 kB / 0.6075 GB, free: 4.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007787/0.3998, allocations: 454.6 kB / 0.6079 GB, free: 4.215 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3998, allocations: 0 / 0.6079 GB, free: 4.215 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3998, allocations: 3.938 kB / 0.6079 GB, free: 4.211 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.3998, allocations: 0 / 0.6079 GB, free: 4.211 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.001098/0.4009, allocations: 0.5286 MB / 0.6084 GB, free: 3.652 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.4009, allocations: 11.97 kB / 0.6085 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.27e-05/0.4009, allocations: 12.69 kB / 0.6085 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.888e-05/0.401, allocations: 62.67 kB / 0.6085 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.4011, allocations: 28.8 kB / 0.6086 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.4014, allocations: 166.2 kB / 0.6087 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.4016, allocations: 230.4 kB / 0.6089 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.4016, allocations: 24 kB / 0.609 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/0.4023, allocations: 497 kB / 0.6094 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4023, allocations: 0 / 0.6094 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.4023, allocations: 12 kB / 0.6094 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.4023, allocations: 4 kB / 0.6094 GB, free: 2.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008883/0.4032, allocations: 0.7586 MB / 0.6102 GB, free: 1.723 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.001374/0.4046, allocations: 1.081 MB / 0.6112 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.4049, allocations: 155.8 kB / 0.6114 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.4051, allocations: 77.48 kB / 0.6115 GB, free: 340 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.4066, allocations: 0.7232 MB / 0.6122 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.4067, allocations: 38.56 kB / 0.6122 GB, free: 15.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.4067, allocations: 0 / 0.6122 GB, free: 15.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002893/0.407, allocations: 113.5 kB / 0.6123 GB, free: 15.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.407, allocations: 59.34 kB / 0.6124 GB, free: 15.36 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.4072, allocations: 220.9 kB / 0.6126 GB, free: 15.13 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.4072, allocations: 25.7 kB / 0.6126 GB, free: 15.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.4074, allocations: 231.5 kB / 0.6128 GB, free: 14.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.4074, allocations: 43.69 kB / 0.6129 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.4075, allocations: 86.03 kB / 0.613 GB, free: 14.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4076, allocations: 326.8 kB / 0.6133 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-05/0.4077, allocations: 44.84 kB / 0.6133 GB, free: 14.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.4081, allocations: 347.2 kB / 0.6136 GB, free: 13.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.4085, allocations: 444.6 kB / 0.6141 GB, free: 13.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.4085, allocations: 4 kB / 0.6141 GB, free: 13.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005706/0.4091, allocations: 377.7 kB / 0.6144 GB, free: 12.92 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4091, allocations: 11.94 kB / 0.6144 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.4091, allocations: 12 kB / 0.6144 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.4092, allocations: 19.94 kB / 0.6145 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.4094, allocations: 103.8 kB / 0.6146 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/0.4094, allocations: 19.92 kB / 0.6146 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.4097, allocations: 55.56 kB / 0.6146 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/0.4098, allocations: 28 kB / 0.6147 GB, free: 12.67 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.0001275/0.4099, allocations: 151.2 kB / 0.6148 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.4099, allocations: 23.8 kB / 0.6148 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.4102, allocations: 148.9 kB / 0.615 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.4103, allocations: 4 kB / 0.615 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4103, allocations: 4 kB / 0.615 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4103, allocations: 0 / 0.615 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.4108, allocations: 376 kB / 0.6153 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4108, allocations: 48 / 0.6153 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.038e-05/0.4108, allocations: 23.91 kB / 0.6154 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4108, allocations: 0 / 0.6154 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4109, allocations: 4 kB / 0.6154 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4109, allocations: 0 / 0.6154 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4109, allocations: 3.938 kB / 0.6154 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.4111, allocations: 213.9 kB / 0.6156 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.4111, allocations: 23.84 kB / 0.6156 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.4112, allocations: 12.05 kB / 0.6156 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.4113, allocations: 4 kB / 0.6156 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.4113, allocations: 3.984 kB / 0.6156 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.4113, allocations: 8 kB / 0.6156 GB, free: 11.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.4115, allocations: 152.5 kB / 0.6158 GB, free: 11.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4115, allocations: 4 kB / 0.6158 GB, free: 11.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004746/0.4119, allocations: 99.77 kB / 0.6159 GB, free: 11.34 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.0006805/0.4126, allocations: 0.7891 MB / 0.6166 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.4129, allocations: 161.9 kB / 0.6168 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4129, allocations: 4.438 kB / 0.6168 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.413, allocations: 27.92 kB / 0.6168 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.4134, allocations: 44.38 kB / 0.6169 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.4165, allocations: 2.82 MB / 0.6196 GB, free: 7.066 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.4166, allocations: 116.5 kB / 0.6197 GB, free: 6.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.4168, allocations: 54.81 kB / 0.6198 GB, free: 6.875 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.4169, allocations: 59.42 kB / 0.6198 GB, free: 6.816 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4169, allocations: 0 / 0.6198 GB, free: 6.816 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.4429, allocations: 5.647 MB / 0.6254 GB, free: 1.324 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.43, allocations: 15.94 kB / 0.6254 GB, free: 1.309 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.447524387971498]