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.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.00175/0.00175, allocations: 119.6 kB / 17.13 MB, free: 5.926 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.002097/0.002097, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.46/1.46, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.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.4135/0.4135, allocations: 44.24 MB / 326.5 MB, free: 6.809 MB / 254.1 MB " [Timeout remaining time 179] 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 72.44 kB / 462.2 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2955, allocations: 60.99 MB / 0.5109 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4676/0.7631, allocations: 151.8 MB / 0.6592 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005227/0.7683, allocations: 4.718 MB / 0.6638 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.7685, allocations: 4.906 kB / 0.6638 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.7688, allocations: 59.08 kB / 0.6639 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004388/0.7732, allocations: 1.558 MB / 0.6654 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.7735, allocations: 143.4 kB / 0.6655 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005343/0.774, allocations: 396 kB / 0.6659 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.347e-05/0.7741, allocations: 17.33 kB / 0.6659 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.7743, allocations: 170.7 kB / 0.6661 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.7746, allocations: 173.1 kB / 0.6662 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.7746, allocations: 9.25 kB / 0.6663 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.7772, allocations: 1.315 MB / 0.6675 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.675e-05/0.7773, allocations: 44.89 kB / 0.6676 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.7775, allocations: 111 kB / 0.6677 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.7797, allocations: 0.9685 MB / 0.6686 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.7797, allocations: 1.094 kB / 0.6686 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7797, allocations: 0.8438 kB / 0.6686 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.7797, allocations: 0 / 0.6686 GB, free: 1.281 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.001535/0.7812, allocations: 0.7293 MB / 0.6693 GB, free: 16.79 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.7812, allocations: 15.14 kB / 0.6694 GB, free: 16.79 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.173e-05/0.7813, allocations: 61.83 kB / 0.6694 GB, free: 16.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007046/0.7884, allocations: 0.5905 MB / 0.67 GB, free: 16.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007024/0.7891, allocations: 263.8 kB / 0.6702 GB, free: 16.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.7892, allocations: 126.3 kB / 0.6704 GB, free: 16.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/0.7893, allocations: 24.75 kB / 0.6704 GB, free: 16.4 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.7905, allocations: 0.5583 MB / 0.6709 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.7905, allocations: 3.344 kB / 0.6709 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.947e-05/0.7906, allocations: 10.56 kB / 0.6709 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.7906, allocations: 8.062 kB / 0.671 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.7919, allocations: 0.6301 MB / 0.6716 GB, free: 16.29 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.002402/0.7943, allocations: 1.659 MB / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.7946, allocations: 144.8 kB / 0.6733 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.7947, allocations: 74.97 kB / 0.6734 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00228/0.797, allocations: 2.081 MB / 0.6754 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.7971, allocations: 37.72 kB / 0.6755 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.7971, allocations: 0 / 0.6755 GB, free: 13.05 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.001068/0.7981, allocations: 341.6 kB / 0.6758 GB, free: 13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.7982, allocations: 56.91 kB / 0.6759 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.7984, allocations: 174.2 kB / 0.676 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.7984, allocations: 34.45 kB / 0.676 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.7986, allocations: 188 kB / 0.6762 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.151e-05/0.7986, allocations: 74.3 kB / 0.6763 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.7987, allocations: 91.47 kB / 0.6764 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.7989, allocations: 332 kB / 0.6767 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.7991, allocations: 63.53 kB / 0.6768 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.7993, allocations: 268.6 kB / 0.677 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.7998, allocations: 365.7 kB / 0.6774 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.7998, allocations: 1.812 kB / 0.6774 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005727/0.8004, allocations: 364.9 kB / 0.6777 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.8004, allocations: 13.72 kB / 0.6777 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.8004, allocations: 5.562 kB / 0.6777 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.8004, allocations: 11.97 kB / 0.6777 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.8008, allocations: 125 kB / 0.6779 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004628/0.8013, allocations: 0.604 MB / 0.6785 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.8015, allocations: 42.45 kB / 0.6785 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.667e-05/0.8016, allocations: 42.03 kB / 0.6785 GB, free: 11.12 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.0001675/0.8018, allocations: 148.5 kB / 0.6787 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/0.8018, allocations: 23.05 kB / 0.6787 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006858/0.8025, allocations: 326.9 kB / 0.679 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.8025, allocations: 3.688 kB / 0.679 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.8025, allocations: 0 / 0.679 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8025, allocations: 2.859 kB / 0.679 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/0.8033, allocations: 0.5273 MB / 0.6795 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8033, allocations: 3.344 kB / 0.6795 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.8035, allocations: 55.95 kB / 0.6796 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.8035, allocations: 0.875 kB / 0.6796 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.8035, allocations: 7.297 kB / 0.6796 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004498/0.804, allocations: 0.5954 MB / 0.6802 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.804, allocations: 6.062 kB / 0.6802 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.8044, allocations: 281.1 kB / 0.6805 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.8045, allocations: 113 kB / 0.6806 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.8046, allocations: 7.141 kB / 0.6806 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.8048, allocations: 11.23 kB / 0.6806 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.8048, allocations: 23.39 kB / 0.6806 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.8048, allocations: 15.88 kB / 0.6806 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001206/0.805, allocations: 132.8 kB / 0.6807 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.805, allocations: 0 / 0.6807 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000907/0.8059, allocations: 211.2 kB / 0.6809 GB, free: 9.559 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.001356/0.8072, allocations: 1.06 MB / 0.682 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004728/0.8077, allocations: 225 kB / 0.6822 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8077, allocations: 0.8125 kB / 0.6822 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.8079, allocations: 80.41 kB / 0.6823 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.8084, allocations: 73.41 kB / 0.6823 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/0.8135, allocations: 4.118 MB / 0.6864 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.8138, allocations: 0.7236 MB / 0.6871 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003856/0.8142, allocations: 103.9 kB / 0.6872 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.8143, allocations: 68.47 kB / 0.6872 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/0.8143, allocations: 0 / 0.6872 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.8481, allocations: 8.887 MB / 0.6959 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.88, allocations: 13.83 kB / 0.6959 GB, free: 5.047 MB / 0.5137 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.934555427636951]