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.001803/0.001803, allocations: 109 kB / 20.48 MB, free: 1.477 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.002243/0.002243, allocations: 209.7 kB / 23.79 MB, free: 4.688 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.456/1.456, allocations: 207.6 MB / 234.6 MB, free: 9.977 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.2366/0.2366, allocations: 44.24 MB / 331.1 MB, free: 9.598 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",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.002144/0.002144, allocations: 67.91 kB / 468.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1165, allocations: 61.04 MB / 0.517 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4138/0.5303, allocations: 151.9 MB / 0.6652 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007283/0.5376, allocations: 4.737 MB / 0.6699 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.5377, allocations: 3.938 kB / 0.6699 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.5381, allocations: 59.66 kB / 0.6699 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004905/0.543, allocations: 1.576 MB / 0.6715 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.5434, allocations: 148.3 kB / 0.6716 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000704/0.5441, allocations: 402.1 kB / 0.672 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.482e-05/0.5442, allocations: 9.812 kB / 0.672 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003699/0.5445, allocations: 179.3 kB / 0.6722 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.5449, allocations: 171.4 kB / 0.6723 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.5449, allocations: 8 kB / 0.6724 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/0.5479, allocations: 1.326 MB / 0.6736 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.548, allocations: 51.77 kB / 0.6737 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.5482, allocations: 111.4 kB / 0.6738 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.5503, allocations: 0.9662 MB / 0.6747 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5503, allocations: 4 kB / 0.6747 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5503, allocations: 0 / 0.6747 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5503, allocations: 0 / 0.6747 GB, free: 2.156 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.001572/0.5519, allocations: 0.6526 MB / 0.6754 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5519, allocations: 12.03 kB / 0.6754 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.095e-05/0.5519, allocations: 5.781 kB / 0.6754 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.078e-05/0.552, allocations: 58.73 kB / 0.6755 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00762/0.5596, allocations: 0.597 MB / 0.676 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.5602, allocations: 213.9 kB / 0.6762 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.5604, allocations: 226.1 kB / 0.6765 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.5606, allocations: 20 kB / 0.6765 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.5619, allocations: 0.5587 MB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5619, allocations: 0 / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-05/0.562, allocations: 12 kB / 0.677 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.562, allocations: 12 kB / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.5636, allocations: 0.6299 MB / 0.6777 GB, free: 15.02 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.002293/0.5659, allocations: 1.597 MB / 0.6792 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.5663, allocations: 150.5 kB / 0.6794 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.5665, allocations: 68.88 kB / 0.6794 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00149/0.5679, allocations: 0.7072 MB / 0.6801 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.568, allocations: 34.5 kB / 0.6802 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.568, allocations: 4 kB / 0.6802 GB, free: 12.31 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.00109/0.5691, allocations: 341 kB / 0.6805 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.5691, allocations: 51.41 kB / 0.6805 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.5693, allocations: 186.3 kB / 0.6807 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.5693, allocations: 29.7 kB / 0.6807 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.5695, allocations: 191.8 kB / 0.6809 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/0.5695, allocations: 71.42 kB / 0.681 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.5697, allocations: 93.95 kB / 0.6811 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5698, allocations: 326.8 kB / 0.6814 GB, free: 11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.57, allocations: 68.64 kB / 0.6815 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.5703, allocations: 263.8 kB / 0.6817 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.5709, allocations: 371 kB / 0.6821 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.5709, allocations: 4 kB / 0.6821 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000706/0.5716, allocations: 365.4 kB / 0.6824 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.5716, allocations: 10.34 kB / 0.6824 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.5716, allocations: 8 kB / 0.6824 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.5716, allocations: 12 kB / 0.6824 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.5721, allocations: 127.8 kB / 0.6826 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004727/0.5726, allocations: 0.6016 MB / 0.6832 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.5728, allocations: 39.67 kB / 0.6832 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.974e-05/0.5729, allocations: 48.98 kB / 0.6832 GB, free: 8.891 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.0001696/0.573, allocations: 141.8 kB / 0.6834 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.5731, allocations: 19.91 kB / 0.6834 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007268/0.5738, allocations: 332.6 kB / 0.6837 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5738, allocations: 0 / 0.6837 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5738, allocations: 3.938 kB / 0.6837 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.5738, allocations: 0 / 0.6837 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008166/0.5747, allocations: 0.5015 MB / 0.6842 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.5747, allocations: 0 / 0.6842 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.5749, allocations: 51.97 kB / 0.6843 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.5749, allocations: 4 kB / 0.6843 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.5749, allocations: 11.98 kB / 0.6843 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003907/0.5753, allocations: 0.5978 MB / 0.6849 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5753, allocations: 1.125 kB / 0.6849 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.5757, allocations: 280.5 kB / 0.6851 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.5758, allocations: 39.81 kB / 0.6852 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.5759, allocations: 8 kB / 0.6852 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.5761, allocations: 11.92 kB / 0.6852 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.5761, allocations: 19.97 kB / 0.6852 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.5762, allocations: 16 kB / 0.6852 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001345/0.5763, allocations: 135 kB / 0.6853 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5763, allocations: 0 / 0.6853 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007476/0.5771, allocations: 211.6 kB / 0.6855 GB, free: 6.387 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.001553/0.5786, allocations: 1.068 MB / 0.6866 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005537/0.5792, allocations: 217.1 kB / 0.6868 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5792, allocations: 4 kB / 0.6868 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.5794, allocations: 79.83 kB / 0.6869 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.58, allocations: 74.08 kB / 0.6869 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005973/0.5859, allocations: 4.115 MB / 0.691 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.5863, allocations: 0.7246 MB / 0.6917 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004055/0.5867, allocations: 99.03 kB / 0.6918 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.5869, allocations: 71.39 kB / 0.6918 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.5869, allocations: 0 / 0.6918 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.6214, allocations: 9.163 MB / 0.7008 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.58, allocations: 8 kB / 0.7008 GB, free: 6.43 MB / 0.5294 GB " [Timeout remaining time 646] (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.921796295966487]