Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.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.001982/0.001982, allocations: 117 kB / 18.49 MB, free: 4.566 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.002466/0.002466, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.46/1.46, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2306/0.2306, allocations: 46.92 MB / 357.7 MB, free: 10.17 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.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 79.89 kB / 0.4917 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1328, allocations: 66.04 MB / 0.5562 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4587/0.5916, allocations: 153.5 MB / 0.7061 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006126/0.5977, allocations: 5.324 MB / 0.7113 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.5978, allocations: 0 / 0.7113 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.5981, allocations: 51.59 kB / 0.7113 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003546/0.6016, allocations: 1.332 MB / 0.7126 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.602, allocations: 146.1 kB / 0.7127 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005874/0.6026, allocations: 390.2 kB / 0.7131 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.6026, allocations: 12.97 kB / 0.7131 GB, free: 264 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.6029, allocations: 183.3 kB / 0.7133 GB, free: 80 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.6032, allocations: 175.5 kB / 0.7135 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.6032, allocations: 8 kB / 0.7135 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.6055, allocations: 1.108 MB / 0.7146 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.303e-05/0.6055, allocations: 47.75 kB / 0.7146 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.6057, allocations: 111.5 kB / 0.7147 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.6071, allocations: 0.8579 MB / 0.7156 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6071, allocations: 0 / 0.7156 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6071, allocations: 0 / 0.7156 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.6071, allocations: 4 kB / 0.7156 GB, free: 13.77 MB / 0.5294 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.001477/0.6086, allocations: 0.7047 MB / 0.7162 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.6086, allocations: 12.03 kB / 0.7163 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.548e-05/0.6087, allocations: 8.75 kB / 0.7163 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.051e-05/0.6087, allocations: 55.61 kB / 0.7163 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008067/0.6168, allocations: 0.602 MB / 0.7169 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.6174, allocations: 275.3 kB / 0.7172 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.6176, allocations: 123.4 kB / 0.7173 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.581e-05/0.6177, allocations: 24 kB / 0.7173 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.6189, allocations: 0.5595 MB / 0.7179 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.6189, allocations: 3.938 kB / 0.7179 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.414e-05/0.619, allocations: 12 kB / 0.7179 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.619, allocations: 8 kB / 0.7179 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.6205, allocations: 0.6299 MB / 0.7185 GB, free: 10.61 MB / 0.5294 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.002286/0.6228, allocations: 1.715 MB / 0.7202 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.6232, allocations: 146.5 kB / 0.7203 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.6234, allocations: 72.88 kB / 0.7204 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/0.625, allocations: 1.49 MB / 0.7218 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.625, allocations: 38.5 kB / 0.7219 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.625, allocations: 0 / 0.7219 GB, free: 6.719 MB / 0.5294 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.001057/0.6261, allocations: 328.3 kB / 0.7222 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.6261, allocations: 55.41 kB / 0.7222 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.6263, allocations: 178.5 kB / 0.7224 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.6264, allocations: 33.7 kB / 0.7224 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.6265, allocations: 191.8 kB / 0.7226 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.6265, allocations: 67.42 kB / 0.7227 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.6267, allocations: 98 kB / 0.7228 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6268, allocations: 330.7 kB / 0.7231 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.627, allocations: 68.7 kB / 0.7232 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.6273, allocations: 264.6 kB / 0.7234 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.6278, allocations: 367.6 kB / 0.7238 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6278, allocations: 0 / 0.7238 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006629/0.6285, allocations: 370.7 kB / 0.7241 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.6285, allocations: 8 kB / 0.7241 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.6285, allocations: 11.94 kB / 0.7241 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.6285, allocations: 8 kB / 0.7241 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.629, allocations: 124.6 kB / 0.7243 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004161/0.6294, allocations: 0.6132 MB / 0.7249 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.6296, allocations: 43.62 kB / 0.7249 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/0.6297, allocations: 43.98 kB / 0.7249 GB, free: 3.301 MB / 0.5294 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.0001578/0.6298, allocations: 141.7 kB / 0.7251 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.6299, allocations: 23.84 kB / 0.7251 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008935/0.6308, allocations: 458.9 kB / 0.7255 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6308, allocations: 11.94 kB / 0.7255 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6308, allocations: 0 / 0.7255 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6308, allocations: 0 / 0.7255 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009769/0.6318, allocations: 0.6411 MB / 0.7262 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.6318, allocations: 4 kB / 0.7262 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.632, allocations: 55.95 kB / 0.7262 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.632, allocations: 4 kB / 0.7262 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.632, allocations: 8 kB / 0.7262 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003555/0.6324, allocations: 0.6015 MB / 0.7268 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6324, allocations: 8.312 kB / 0.7268 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.6328, allocations: 291.5 kB / 0.7271 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.6329, allocations: 108.9 kB / 0.7272 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.6329, allocations: 11.94 kB / 0.7272 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.6332, allocations: 9.625 kB / 0.7272 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.6332, allocations: 19.98 kB / 0.7273 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.6332, allocations: 19.98 kB / 0.7273 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001327/0.6334, allocations: 139.6 kB / 0.7274 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6334, allocations: 3.938 kB / 0.7274 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006554/0.634, allocations: 171.6 kB / 0.7276 GB, free: 404 kB / 0.5294 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.001278/0.6353, allocations: 0.99 MB / 0.7285 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005532/0.6359, allocations: 225 kB / 0.7288 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6359, allocations: 0 / 0.7288 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.6361, allocations: 83.83 kB / 0.7288 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.6366, allocations: 61.95 kB / 0.7289 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/0.6408, allocations: 3.054 MB / 0.7319 GB, free: 11.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.6411, allocations: 0.7245 MB / 0.7326 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006533/0.6418, allocations: 380.3 kB / 0.733 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.642, allocations: 99.36 kB / 0.733 GB, free: 10.41 MB / 0.545 GB Notification: Performance of SimCode: time 7.42e-07/0.642, allocations: 3.938 kB / 0.7331 GB, free: 10.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.67, allocations: 7.969 MB / 0.7408 GB, free: 2.559 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.38, allocations: 4.656 kB / 0.7408 GB, free: 2.555 MB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.735479224007577]