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.001328/0.001328, allocations: 114 kB / 20.43 MB, free: 1.457 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.001492/0.001492, allocations: 214.6 kB / 23.74 MB, free: 4.672 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.483/1.483, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.235/0.235, allocations: 46.93 MB / 360.8 MB, free: 4.176 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 71.88 kB / 0.4962 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.322, allocations: 66.08 MB / 0.5608 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03672/0.3587, allocations: 27.16 MB / 0.5873 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003992/0.3627, allocations: 2.979 MB / 0.5902 GB, free: 6.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.3629, allocations: 3.938 kB / 0.5902 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.3632, allocations: 43.67 kB / 0.5902 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.3654, allocations: 0.7461 MB / 0.591 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.3658, allocations: 135.1 kB / 0.5911 GB, free: 5.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006707/0.3665, allocations: 382.1 kB / 0.5915 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.954e-05/0.3665, allocations: 13.8 kB / 0.5915 GB, free: 4.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03833/0.4048, allocations: 15.41 MB / 0.6065 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004766/0.4053, allocations: 155.4 kB / 0.6067 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.325e-05/0.4054, allocations: 8 kB / 0.6067 GB, free: 5.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008251/0.4136, allocations: 3.43 MB / 0.61 GB, free: 1.586 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.4137, allocations: 39.83 kB / 0.6101 GB, free: 1.547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.4139, allocations: 111.5 kB / 0.6102 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.4152, allocations: 466.6 kB / 0.6106 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4152, allocations: 0 / 0.6106 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4152, allocations: 0 / 0.6106 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4152, allocations: 0 / 0.6106 GB, free: 0.9805 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.001224/0.4164, allocations: 0.5285 MB / 0.6111 GB, free: 432 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4165, allocations: 8.031 kB / 0.6111 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.832e-05/0.4165, allocations: 66.66 kB / 0.6112 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.4167, allocations: 28.8 kB / 0.6112 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.4171, allocations: 170.2 kB / 0.6114 GB, free: 124 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.4173, allocations: 226.7 kB / 0.6116 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.4173, allocations: 31.94 kB / 0.6116 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.4179, allocations: 334.8 kB / 0.612 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4179, allocations: 0 / 0.612 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.4179, allocations: 12 kB / 0.612 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.4179, allocations: 8 kB / 0.612 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008967/0.4188, allocations: 0.7625 MB / 0.6127 GB, free: 14.68 MB / 462.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.001523/0.4203, allocations: 1.276 MB / 0.614 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.4207, allocations: 159.6 kB / 0.6141 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.4208, allocations: 77.48 kB / 0.6142 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/0.4225, allocations: 0.7388 MB / 0.6149 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.4225, allocations: 34.56 kB / 0.6149 GB, free: 12.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.4225, allocations: 0 / 0.6149 GB, free: 12.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002868/0.4228, allocations: 117.4 kB / 0.6151 GB, free: 12.12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.4228, allocations: 55.34 kB / 0.6151 GB, free: 12.06 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.4231, allocations: 228.8 kB / 0.6153 GB, free: 11.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.4231, allocations: 33.7 kB / 0.6154 GB, free: 11.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.4232, allocations: 223.5 kB / 0.6156 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.4233, allocations: 43.69 kB / 0.6156 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.4234, allocations: 86.03 kB / 0.6157 GB, free: 11.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4235, allocations: 326.8 kB / 0.616 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.4236, allocations: 48.83 kB / 0.6161 GB, free: 11.06 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.424, allocations: 343.2 kB / 0.6164 GB, free: 10.58 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.4245, allocations: 444.6 kB / 0.6168 GB, free: 9.996 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.4245, allocations: 4 kB / 0.6168 GB, free: 9.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006007/0.4251, allocations: 377.8 kB / 0.6172 GB, free: 9.617 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4251, allocations: 10.03 kB / 0.6172 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.4251, allocations: 15.94 kB / 0.6172 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/0.4251, allocations: 23.98 kB / 0.6172 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.4254, allocations: 95.78 kB / 0.6173 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/0.4254, allocations: 19.92 kB / 0.6173 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.4256, allocations: 59.56 kB / 0.6174 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.4257, allocations: 28 kB / 0.6174 GB, free: 9.371 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.0001438/0.4258, allocations: 151 kB / 0.6176 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/0.4259, allocations: 23.86 kB / 0.6176 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.4262, allocations: 144.8 kB / 0.6177 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.4262, allocations: 4 kB / 0.6177 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4262, allocations: 4 kB / 0.6177 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4262, allocations: 0 / 0.6177 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.4267, allocations: 388 kB / 0.6181 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.4267, allocations: 3.984 kB / 0.6181 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.4268, allocations: 12 kB / 0.6181 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4268, allocations: 0 / 0.6181 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4268, allocations: 4 kB / 0.6181 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4268, allocations: 4.094 kB / 0.6181 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4268, allocations: 3.938 kB / 0.6181 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.427, allocations: 209.9 kB / 0.6183 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.4271, allocations: 23.83 kB / 0.6183 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.4271, allocations: 11.94 kB / 0.6184 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.4272, allocations: 8 kB / 0.6184 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.4273, allocations: 7.984 kB / 0.6184 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.4273, allocations: 0 / 0.6184 GB, free: 8.285 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.4274, allocations: 156.5 kB / 0.6185 GB, free: 8.133 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4274, allocations: 4 kB / 0.6185 GB, free: 8.129 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000493/0.4279, allocations: 95.83 kB / 0.6186 GB, free: 8.035 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.0007338/0.4286, allocations: 0.7889 MB / 0.6194 GB, free: 7.211 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003178/0.429, allocations: 160.5 kB / 0.6195 GB, free: 7.055 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.429, allocations: 1.875 kB / 0.6195 GB, free: 7.055 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.429, allocations: 27.92 kB / 0.6196 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.4294, allocations: 56.75 kB / 0.6196 GB, free: 6.973 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.4328, allocations: 2.808 MB / 0.6224 GB, free: 3.773 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.4332, allocations: 0.7323 MB / 0.6231 GB, free: 3.016 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.4333, allocations: 58.89 kB / 0.6231 GB, free: 2.953 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.26e-05/0.4334, allocations: 63.41 kB / 0.6232 GB, free: 2.891 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4334, allocations: 0 / 0.6232 GB, free: 2.891 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/0.4672, allocations: 5.578 MB / 0.6286 GB, free: 13.43 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.56, allocations: 3.938 kB / 0.6286 GB, free: 13.42 MB / 478.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.696888132952154]