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.001865/0.001865, allocations: 113 kB / 18.49 MB, free: 4.539 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.002332/0.002332, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.528/1.528, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2421/0.2421, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.00194/0.00194, allocations: 67.89 kB / 0.4917 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1594, allocations: 65.98 MB / 0.5561 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03592/0.1953, allocations: 27.03 MB / 0.5825 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004193/0.1995, allocations: 2.959 MB / 0.5854 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.1996, allocations: 4 kB / 0.5854 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.2, allocations: 55.59 kB / 0.5854 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.2021, allocations: 0.7227 MB / 0.5861 GB, free: 6.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.2025, allocations: 143.2 kB / 0.5863 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006425/0.2031, allocations: 374.1 kB / 0.5866 GB, free: 6.406 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.296e-05/0.2032, allocations: 5.688 kB / 0.5866 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3913/0.5944, allocations: 15.52 MB / 0.6018 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003873/0.5948, allocations: 143.8 kB / 0.6019 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.5948, allocations: 7.312 kB / 0.6019 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009529/0.6044, allocations: 3.468 MB / 0.6053 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.6045, allocations: 44.91 kB / 0.6054 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.6047, allocations: 109.4 kB / 0.6055 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.6059, allocations: 476.6 kB / 0.6059 GB, free: 4.508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.6059, allocations: 2.156 kB / 0.6059 GB, free: 4.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.6059, allocations: 1.969 kB / 0.6059 GB, free: 4.508 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.6059, allocations: 0 / 0.6059 GB, free: 4.508 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.00118/0.6071, allocations: 0.6064 MB / 0.6065 GB, free: 4.062 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.6072, allocations: 9.719 kB / 0.6065 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.309e-05/0.6072, allocations: 9.094 kB / 0.6065 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.203e-05/0.6073, allocations: 61.08 kB / 0.6066 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.6074, allocations: 30.59 kB / 0.6066 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.6078, allocations: 221.3 kB / 0.6068 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.6079, allocations: 124.9 kB / 0.607 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.608, allocations: 25.47 kB / 0.607 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.6086, allocations: 327 kB / 0.6073 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.6086, allocations: 0 / 0.6073 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.6086, allocations: 15.08 kB / 0.6073 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.6086, allocations: 6.297 kB / 0.6073 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.61, allocations: 0.7405 MB / 0.608 GB, free: 3.574 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.001297/0.6112, allocations: 1.299 MB / 0.6093 GB, free: 2.559 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.6116, allocations: 151.2 kB / 0.6095 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.6118, allocations: 82.03 kB / 0.6095 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002403/0.6142, allocations: 2.811 MB / 0.6123 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.6142, allocations: 39.83 kB / 0.6123 GB, free: 15.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.6142, allocations: 0.6562 kB / 0.6123 GB, free: 15.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.000342/0.6145, allocations: 119.5 kB / 0.6124 GB, free: 15.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.6146, allocations: 53.19 kB / 0.6125 GB, free: 15.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.6148, allocations: 223.6 kB / 0.6127 GB, free: 15.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.6149, allocations: 30.02 kB / 0.6127 GB, free: 15.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.6151, allocations: 224.9 kB / 0.6129 GB, free: 15.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.6151, allocations: 55.89 kB / 0.613 GB, free: 15.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.6152, allocations: 82.66 kB / 0.6131 GB, free: 15.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6154, allocations: 327.7 kB / 0.6134 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/0.6155, allocations: 47.5 kB / 0.6134 GB, free: 14.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.6158, allocations: 341.9 kB / 0.6138 GB, free: 14.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.6163, allocations: 447 kB / 0.6142 GB, free: 14.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.547e-06/0.6163, allocations: 3.281 kB / 0.6142 GB, free: 14.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006123/0.617, allocations: 380.2 kB / 0.6145 GB, free: 13.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.617, allocations: 16.52 kB / 0.6146 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.617, allocations: 17.84 kB / 0.6146 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/0.617, allocations: 14.38 kB / 0.6146 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.6173, allocations: 101.9 kB / 0.6147 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.919e-05/0.6174, allocations: 23.14 kB / 0.6147 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.6176, allocations: 50.47 kB / 0.6148 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.6177, allocations: 30.03 kB / 0.6148 GB, free: 13.93 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.0001631/0.6178, allocations: 153.7 kB / 0.6149 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.6179, allocations: 17.52 kB / 0.615 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.6182, allocations: 152.6 kB / 0.6151 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.6182, allocations: 4.375 kB / 0.6151 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.6182, allocations: 1.188 kB / 0.6151 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6182, allocations: 1.031 kB / 0.6151 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.6188, allocations: 416.6 kB / 0.6155 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6188, allocations: 1.469 kB / 0.6155 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/0.6189, allocations: 15.2 kB / 0.6155 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6189, allocations: 1.312 kB / 0.6155 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.6189, allocations: 7.203 kB / 0.6155 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.6189, allocations: 2.281 kB / 0.6155 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6189, allocations: 1.562 kB / 0.6155 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.6191, allocations: 209.3 kB / 0.6157 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.359e-05/0.6192, allocations: 94.66 kB / 0.6158 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.6193, allocations: 9.953 kB / 0.6158 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.6194, allocations: 8.359 kB / 0.6158 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.6194, allocations: 9.125 kB / 0.6158 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.6194, allocations: 5.75 kB / 0.6158 GB, free: 13.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.6196, allocations: 154.5 kB / 0.616 GB, free: 13.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6196, allocations: 0 / 0.616 GB, free: 13.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005824/0.6202, allocations: 94.78 kB / 0.6161 GB, free: 13.04 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.0008113/0.621, allocations: 0.8049 MB / 0.6169 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.6214, allocations: 161.9 kB / 0.617 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6214, allocations: 0.75 kB / 0.617 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.777e-05/0.6214, allocations: 27.7 kB / 0.6171 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.6219, allocations: 48.86 kB / 0.6171 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/0.6256, allocations: 2.807 MB / 0.6198 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.6261, allocations: 0.7279 MB / 0.6206 GB, free: 9.469 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.6263, allocations: 48.05 kB / 0.6206 GB, free: 9.453 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/0.6264, allocations: 68.58 kB / 0.6207 GB, free: 9.445 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6264, allocations: 0 / 0.6207 GB, free: 9.445 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.6491, allocations: 5.326 MB / 0.6259 GB, free: 8.727 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/8.993, allocations: 14.08 kB / 0.6259 GB, free: 8.719 MB / 462.1 MB " [Timeout remaining time 651] (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: 12.438071017968468]