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.001879/0.001879, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.002263/0.002263, allocations: 212 kB / 23.74 MB, free: 4.688 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2367/0.2367, allocations: 46.94 MB / 360.9 MB, free: 4.258 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.002186/0.002186, allocations: 63.89 kB / 0.4962 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3217, allocations: 66.04 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03371/0.3555, allocations: 27.15 MB / 0.5872 GB, free: 9.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003814/0.3593, allocations: 2.979 MB / 0.5901 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.3595, allocations: 0 / 0.5901 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.3598, allocations: 55.59 kB / 0.5902 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.3622, allocations: 0.7422 MB / 0.5909 GB, free: 5.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.3626, allocations: 131.7 kB / 0.591 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000649/0.3632, allocations: 382 kB / 0.5914 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.3633, allocations: 9.812 kB / 0.5914 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03844/0.4017, allocations: 15.41 MB / 0.6064 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005771/0.4023, allocations: 151.4 kB / 0.6066 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.436e-05/0.4024, allocations: 12 kB / 0.6066 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009369/0.4117, allocations: 3.43 MB / 0.6099 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.4119, allocations: 39.88 kB / 0.61 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.4121, allocations: 115.5 kB / 0.6101 GB, free: 1.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.4133, allocations: 466.5 kB / 0.6105 GB, free: 1.152 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.4133, allocations: 0 / 0.6105 GB, free: 1.152 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4133, allocations: 0 / 0.6105 GB, free: 1.152 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.4134, allocations: 4 kB / 0.6105 GB, free: 1.148 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.001369/0.4147, allocations: 0.5324 MB / 0.6111 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4148, allocations: 8.031 kB / 0.6111 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.184e-05/0.4148, allocations: 58.73 kB / 0.6111 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.415, allocations: 28.8 kB / 0.6111 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.4153, allocations: 170.2 kB / 0.6113 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.4155, allocations: 230.6 kB / 0.6115 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.4156, allocations: 24.08 kB / 0.6115 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.4162, allocations: 334.9 kB / 0.6119 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.4162, allocations: 7.938 kB / 0.6119 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.4162, allocations: 11.94 kB / 0.6119 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.4162, allocations: 11.98 kB / 0.6119 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000855/0.4171, allocations: 0.7547 MB / 0.6126 GB, free: 14.85 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.001495/0.4186, allocations: 1.28 MB / 0.6139 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.419, allocations: 151.7 kB / 0.614 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.4191, allocations: 85.45 kB / 0.6141 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.4207, allocations: 0.731 MB / 0.6148 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4207, allocations: 34.56 kB / 0.6149 GB, free: 12.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.4207, allocations: 0 / 0.6149 GB, free: 12.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003029/0.421, allocations: 121.4 kB / 0.615 GB, free: 12.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.4211, allocations: 55.41 kB / 0.615 GB, free: 12.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.4213, allocations: 222.7 kB / 0.6152 GB, free: 12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.4213, allocations: 25.7 kB / 0.6153 GB, free: 11.97 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.4214, allocations: 227.5 kB / 0.6155 GB, free: 11.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.4215, allocations: 51.67 kB / 0.6155 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.902e-05/0.4216, allocations: 82.05 kB / 0.6156 GB, free: 11.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4217, allocations: 326.8 kB / 0.6159 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.4218, allocations: 48.84 kB / 0.616 GB, free: 11.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.4221, allocations: 343.2 kB / 0.6163 GB, free: 10.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.4226, allocations: 448.5 kB / 0.6167 GB, free: 10.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.4226, allocations: 4 kB / 0.6167 GB, free: 10.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006007/0.4232, allocations: 377.8 kB / 0.6171 GB, free: 9.781 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4233, allocations: 12 kB / 0.6171 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.4233, allocations: 12.12 kB / 0.6171 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.4233, allocations: 19.94 kB / 0.6171 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.4236, allocations: 95.83 kB / 0.6172 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.482e-05/0.4236, allocations: 23.92 kB / 0.6172 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.4239, allocations: 59.56 kB / 0.6173 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.4239, allocations: 27.98 kB / 0.6173 GB, free: 9.535 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.0001486/0.4241, allocations: 149.6 kB / 0.6175 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.4241, allocations: 27.86 kB / 0.6175 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.4244, allocations: 156.8 kB / 0.6176 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.4244, allocations: 0 / 0.6176 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4244, allocations: 0 / 0.6176 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4244, allocations: 4.031 kB / 0.6176 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.4249, allocations: 376 kB / 0.618 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4249, allocations: 96 / 0.618 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.384e-05/0.425, allocations: 19.88 kB / 0.618 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.425, allocations: 0 / 0.618 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.425, allocations: 11.98 kB / 0.618 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.425, allocations: 0 / 0.618 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.425, allocations: 4 kB / 0.618 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.4252, allocations: 206 kB / 0.6182 GB, free: 8.496 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.4253, allocations: 27.77 kB / 0.6183 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.4253, allocations: 0 / 0.6183 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.4254, allocations: 8 kB / 0.6183 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.4255, allocations: 11.98 kB / 0.6183 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.4255, allocations: 4 kB / 0.6183 GB, free: 8.445 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.4256, allocations: 156.5 kB / 0.6184 GB, free: 8.297 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4256, allocations: 0 / 0.6184 GB, free: 8.297 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005004/0.4261, allocations: 99.8 kB / 0.6185 GB, free: 8.199 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.0006773/0.4268, allocations: 0.7927 MB / 0.6193 GB, free: 7.371 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.4271, allocations: 165.6 kB / 0.6195 GB, free: 7.211 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4271, allocations: 0 / 0.6195 GB, free: 7.211 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.4271, allocations: 23.94 kB / 0.6195 GB, free: 7.188 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.4275, allocations: 41.92 kB / 0.6195 GB, free: 7.148 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.4308, allocations: 2.827 MB / 0.6223 GB, free: 3.934 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.4312, allocations: 0.7206 MB / 0.623 GB, free: 3.188 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.4314, allocations: 54.81 kB / 0.623 GB, free: 3.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.4315, allocations: 59.42 kB / 0.6231 GB, free: 3.07 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4315, allocations: 4 kB / 0.6231 GB, free: 3.066 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.4648, allocations: 5.583 MB / 0.6286 GB, free: 13.63 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.27, allocations: 4.062 kB / 0.6286 GB, free: 13.63 MB / 478.1 MB " [Timeout remaining time 649] (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.331240708939731]