Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.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.001337/0.001337, allocations: 110.2 kB / 19.69 MB, free: 2.203 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.001403/0.001403, allocations: 224.9 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2297/0.2297, allocations: 44.24 MB / 330.3 MB, free: 9.602 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 67.89 kB / 467.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1236, allocations: 61.05 MB / 0.5162 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4378/0.5613, allocations: 151.9 MB / 0.6645 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00675/0.5681, allocations: 4.733 MB / 0.6691 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.5683, allocations: 0 / 0.6691 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.5686, allocations: 63.59 kB / 0.6692 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005169/0.5738, allocations: 1.578 MB / 0.6707 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.5742, allocations: 157.2 kB / 0.6709 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008026/0.575, allocations: 398.1 kB / 0.6712 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.334e-05/0.5751, allocations: 9.812 kB / 0.6712 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003915/0.5755, allocations: 179.3 kB / 0.6714 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003957/0.5759, allocations: 167.5 kB / 0.6716 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.5759, allocations: 8 kB / 0.6716 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.5792, allocations: 1.326 MB / 0.6729 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.5794, allocations: 55.75 kB / 0.6729 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.5795, allocations: 99.53 kB / 0.673 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.5821, allocations: 0.974 MB / 0.674 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5821, allocations: 0 / 0.674 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5821, allocations: 0 / 0.674 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.5821, allocations: 0 / 0.674 GB, free: 2.129 MB / 0.4981 GB 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.001936/0.5841, allocations: 0.6643 MB / 0.6746 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.5841, allocations: 12.03 kB / 0.6746 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.658e-05/0.5842, allocations: 58.72 kB / 0.6747 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007316/0.5915, allocations: 0.5923 MB / 0.6753 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.5922, allocations: 206.2 kB / 0.6755 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.5924, allocations: 230.1 kB / 0.6757 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.5925, allocations: 20 kB / 0.6757 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.5938, allocations: 0.5587 MB / 0.6763 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.5938, allocations: 4 kB / 0.6763 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-05/0.5939, allocations: 8 kB / 0.6763 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.5939, allocations: 11.98 kB / 0.6763 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.5954, allocations: 0.6299 MB / 0.6769 GB, free: 15 MB / 0.5137 GB 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.002359/0.5977, allocations: 1.597 MB / 0.6785 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.5981, allocations: 146.5 kB / 0.6786 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.5983, allocations: 76.86 kB / 0.6787 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/0.5998, allocations: 0.6994 MB / 0.6793 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.5998, allocations: 38.56 kB / 0.6794 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.5998, allocations: 4 kB / 0.6794 GB, free: 12.29 MB / 0.5137 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=20): time 0.0009986/0.6008, allocations: 333.5 kB / 0.6797 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.6009, allocations: 55.41 kB / 0.6798 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.601, allocations: 186.3 kB / 0.6799 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.6011, allocations: 29.7 kB / 0.68 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.6012, allocations: 191.8 kB / 0.6801 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.466e-05/0.6013, allocations: 71.44 kB / 0.6802 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.6014, allocations: 89.95 kB / 0.6803 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.6016, allocations: 330.8 kB / 0.6806 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.6017, allocations: 64.7 kB / 0.6807 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.6021, allocations: 263.8 kB / 0.6809 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005387/0.6026, allocations: 375 kB / 0.6813 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6026, allocations: 0.75 kB / 0.6813 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006746/0.6033, allocations: 361.5 kB / 0.6816 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.6033, allocations: 8.938 kB / 0.6816 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.6033, allocations: 8 kB / 0.6817 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.6033, allocations: 8 kB / 0.6817 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.6038, allocations: 135.8 kB / 0.6818 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004734/0.6042, allocations: 0.5977 MB / 0.6824 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.6045, allocations: 48.78 kB / 0.6824 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/0.6046, allocations: 40 kB / 0.6825 GB, free: 8.875 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.6047, allocations: 145.8 kB / 0.6826 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.852e-05/0.6048, allocations: 23.89 kB / 0.6826 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007487/0.6055, allocations: 328.4 kB / 0.6829 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6055, allocations: 7.938 kB / 0.6829 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6055, allocations: 3.938 kB / 0.6829 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.6056, allocations: 3.984 kB / 0.6829 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007992/0.6064, allocations: 0.4937 MB / 0.6834 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.6064, allocations: 0 / 0.6834 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.6066, allocations: 59.91 kB / 0.6835 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.6066, allocations: 0 / 0.6835 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.6066, allocations: 11.98 kB / 0.6835 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003781/0.607, allocations: 0.5862 MB / 0.6841 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/0.607, allocations: 13.03 kB / 0.6841 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.6074, allocations: 272.4 kB / 0.6843 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.6075, allocations: 31.83 kB / 0.6844 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.6075, allocations: 11.98 kB / 0.6844 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.6078, allocations: 8 kB / 0.6844 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.6078, allocations: 23.84 kB / 0.6844 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.6078, allocations: 23.98 kB / 0.6844 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001267/0.608, allocations: 135 kB / 0.6846 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.608, allocations: 0 / 0.6846 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007154/0.6087, allocations: 207.5 kB / 0.6848 GB, free: 6.363 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00155/0.6102, allocations: 1.073 MB / 0.6858 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005278/0.6108, allocations: 221.1 kB / 0.686 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.6108, allocations: 0 / 0.686 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.611, allocations: 79.89 kB / 0.6861 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.6115, allocations: 75.12 kB / 0.6862 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005844/0.6174, allocations: 4.123 MB / 0.6902 GB, free: 492 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.6178, allocations: 0.7245 MB / 0.6909 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003773/0.6181, allocations: 96.22 kB / 0.691 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.6183, allocations: 71.41 kB / 0.6911 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.6183, allocations: 0 / 0.6911 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/0.6587, allocations: 9.138 MB / 0.7 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.35, allocations: 7.281 kB / 0.7 GB, free: 6.426 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.37991991499439]