Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 118.1 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 189.2 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3094/0.3094, allocations: 44.91 MB / 349.6 MB, free: 1.73 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.41 kB / 491.8 MB, free: 30.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1293, allocations: 64.26 MB / 0.543 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4934/0.6227, allocations: 150.6 MB / 0.6901 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006684/0.6294, allocations: 5.338 MB / 0.6953 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.6296, allocations: 0 / 0.6953 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.6299, allocations: 55.44 kB / 0.6954 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.6339, allocations: 1.318 MB / 0.6966 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.6342, allocations: 150.6 kB / 0.6968 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006089/0.6348, allocations: 392.2 kB / 0.6972 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.132e-05/0.6349, allocations: 11.09 kB / 0.6972 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.6352, allocations: 167.3 kB / 0.6973 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.6355, allocations: 173.8 kB / 0.6975 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.6355, allocations: 7.5 kB / 0.6975 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.6378, allocations: 1.104 MB / 0.6986 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.563e-05/0.6379, allocations: 44.84 kB / 0.6986 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.6381, allocations: 106.5 kB / 0.6987 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.6394, allocations: 0.8549 MB / 0.6996 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6394, allocations: 0 / 0.6996 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6394, allocations: 0 / 0.6996 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.6394, allocations: 4 kB / 0.6996 GB, free: 14.11 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.001349/0.6408, allocations: 0.691 MB / 0.7002 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.6408, allocations: 12.03 kB / 0.7002 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.831e-05/0.6409, allocations: 62.67 kB / 0.7003 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007065/0.648, allocations: 0.5898 MB / 0.7009 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.6486, allocations: 267.6 kB / 0.7011 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.6488, allocations: 123.4 kB / 0.7013 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.6489, allocations: 16 kB / 0.7013 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.6501, allocations: 0.5672 MB / 0.7018 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.6501, allocations: 8 kB / 0.7018 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.971e-05/0.6502, allocations: 11.94 kB / 0.7018 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.6502, allocations: 8 kB / 0.7019 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.6517, allocations: 0.6299 MB / 0.7025 GB, free: 11.06 MB / 0.4981 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.002582/0.6542, allocations: 1.71 MB / 0.7041 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.6546, allocations: 150.5 kB / 0.7043 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.6548, allocations: 72.83 kB / 0.7043 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/0.6563, allocations: 1.46 MB / 0.7058 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.6564, allocations: 42.56 kB / 0.7058 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 2.375e-06/0.6564, allocations: 0 / 0.7058 GB, free: 7.199 MB / 0.4981 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=19): time 0.001003/0.6574, allocations: 324.3 kB / 0.7061 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.6574, allocations: 63.34 kB / 0.7062 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.6576, allocations: 182.6 kB / 0.7064 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.6577, allocations: 29.7 kB / 0.7064 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.6578, allocations: 187.8 kB / 0.7066 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/0.6579, allocations: 71.38 kB / 0.7066 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.658, allocations: 97.95 kB / 0.7067 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6582, allocations: 330.8 kB / 0.707 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.6583, allocations: 72.7 kB / 0.7071 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.6587, allocations: 267.8 kB / 0.7074 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.6592, allocations: 363.6 kB / 0.7077 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.6592, allocations: 4.875 kB / 0.7077 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006372/0.6598, allocations: 372.2 kB / 0.7081 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6598, allocations: 8.156 kB / 0.7081 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.6599, allocations: 12 kB / 0.7081 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.6599, allocations: 12 kB / 0.7081 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.6603, allocations: 123.8 kB / 0.7082 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004273/0.6607, allocations: 0.6055 MB / 0.7088 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.661, allocations: 43.72 kB / 0.7089 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.661, allocations: 41.8 kB / 0.7089 GB, free: 3.781 MB / 0.4981 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.0001773/0.6612, allocations: 145.8 kB / 0.709 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.6613, allocations: 19.91 kB / 0.7091 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009235/0.6622, allocations: 460.5 kB / 0.7095 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6622, allocations: 0 / 0.7095 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6622, allocations: 0 / 0.7095 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6622, allocations: 0 / 0.7095 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009934/0.6632, allocations: 0.6531 MB / 0.7101 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.6632, allocations: 0 / 0.7101 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.6634, allocations: 59.95 kB / 0.7102 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.6634, allocations: 4 kB / 0.7102 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.6635, allocations: 8.25 kB / 0.7102 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003776/0.6638, allocations: 0.6055 MB / 0.7108 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6638, allocations: 0 / 0.7108 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.6642, allocations: 294.2 kB / 0.7111 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.6644, allocations: 109 kB / 0.7112 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.6644, allocations: 11.94 kB / 0.7112 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.6646, allocations: 15.98 kB / 0.7112 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.6647, allocations: 19.92 kB / 0.7112 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.6647, allocations: 19.98 kB / 0.7112 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001249/0.6648, allocations: 143.5 kB / 0.7114 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6648, allocations: 0 / 0.7114 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006746/0.6655, allocations: 163.6 kB / 0.7115 GB, free: 0.8789 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.001263/0.6668, allocations: 1.001 MB / 0.7125 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005502/0.6673, allocations: 220.9 kB / 0.7127 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6673, allocations: 448 / 0.7127 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.6675, allocations: 79.83 kB / 0.7128 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/0.6681, allocations: 76.39 kB / 0.7129 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.6722, allocations: 3.016 MB / 0.7158 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.6725, allocations: 0.7207 MB / 0.7165 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007002/0.6732, allocations: 384 kB / 0.7169 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.6734, allocations: 87.38 kB / 0.717 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.6734, allocations: 0 / 0.717 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.7073, allocations: 7.907 MB / 0.7247 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.48, allocations: 2.109 kB / 0.7247 GB, free: 3.168 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.88439463218674]