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.001288/0.001288, allocations: 122.2 kB / 17.84 MB, free: 5.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.002163/0.002163, allocations: 211.8 kB / 20.8 MB, free: 2.258 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.589/1.589, allocations: 207.6 MB / 231.2 MB, free: 4.129 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.3637/0.3637, allocations: 44.23 MB / 327.3 MB, free: 6.746 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.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.002766/0.002766, allocations: 67.89 kB / 463 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3513, allocations: 61.01 MB / 0.5117 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5366/0.8879, allocations: 151.8 MB / 0.6599 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00525/0.8931, allocations: 4.719 MB / 0.6645 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.8933, allocations: 2.844 kB / 0.6645 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.8936, allocations: 57.77 kB / 0.6646 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005168/0.8988, allocations: 1.56 MB / 0.6661 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.8992, allocations: 142.1 kB / 0.6663 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006166/0.8998, allocations: 399.9 kB / 0.6666 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.313e-05/0.8998, allocations: 6.656 kB / 0.6666 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.9001, allocations: 174.8 kB / 0.6668 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.9003, allocations: 173.4 kB / 0.667 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.9004, allocations: 11.38 kB / 0.667 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003568/0.9039, allocations: 1.317 MB / 0.6683 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.904, allocations: 51.27 kB / 0.6683 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.9043, allocations: 107.8 kB / 0.6684 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.9072, allocations: 0.9683 MB / 0.6694 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9072, allocations: 1 kB / 0.6694 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.745e-06/0.9073, allocations: 1.719 kB / 0.6694 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.9073, allocations: 0 / 0.6694 GB, free: 1.227 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.001725/0.909, allocations: 0.7301 MB / 0.6701 GB, free: 16.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.182e-05/0.9091, allocations: 15.17 kB / 0.6701 GB, free: 16.73 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.315e-05/0.9091, allocations: 5.906 kB / 0.6701 GB, free: 16.73 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.657e-05/0.9092, allocations: 60.77 kB / 0.6702 GB, free: 16.69 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008053/0.9172, allocations: 0.5912 MB / 0.6707 GB, free: 16.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008317/0.9181, allocations: 269.6 kB / 0.671 GB, free: 16.47 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.9182, allocations: 124.3 kB / 0.6711 GB, free: 16.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.836e-05/0.9183, allocations: 22.47 kB / 0.6711 GB, free: 16.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.9196, allocations: 0.5607 MB / 0.6717 GB, free: 16.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.9196, allocations: 2.141 kB / 0.6717 GB, free: 16.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/0.9197, allocations: 13.06 kB / 0.6717 GB, free: 16.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.9197, allocations: 7.969 kB / 0.6717 GB, free: 16.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.9212, allocations: 0.6277 MB / 0.6723 GB, free: 16.23 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.00219/0.9233, allocations: 1.655 MB / 0.6739 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.9237, allocations: 148.5 kB / 0.6741 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.9238, allocations: 72.42 kB / 0.6741 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00215/0.926, allocations: 2.077 MB / 0.6762 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.926, allocations: 38.34 kB / 0.6762 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.926, allocations: 0 / 0.6762 GB, free: 12.99 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.0009727/0.927, allocations: 342.9 kB / 0.6765 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.927, allocations: 54.22 kB / 0.6766 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.9272, allocations: 179.3 kB / 0.6768 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.9272, allocations: 25.7 kB / 0.6768 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.9273, allocations: 188.6 kB / 0.677 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.9274, allocations: 73.47 kB / 0.677 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.9275, allocations: 92.73 kB / 0.6771 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9276, allocations: 333.7 kB / 0.6774 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.9277, allocations: 65.2 kB / 0.6775 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.9279, allocations: 274.4 kB / 0.6778 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.9284, allocations: 367 kB / 0.6781 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.9284, allocations: 1.594 kB / 0.6781 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005777/0.929, allocations: 367.8 kB / 0.6785 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.929, allocations: 7.531 kB / 0.6785 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.929, allocations: 7.703 kB / 0.6785 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.929, allocations: 14.11 kB / 0.6785 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.9294, allocations: 128.9 kB / 0.6786 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004248/0.9298, allocations: 0.6051 MB / 0.6792 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.9301, allocations: 45.14 kB / 0.6793 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.9301, allocations: 41.67 kB / 0.6793 GB, free: 11.06 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.0001551/0.9303, allocations: 142.3 kB / 0.6794 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.9303, allocations: 20.16 kB / 0.6794 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006671/0.931, allocations: 333.8 kB / 0.6798 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.931, allocations: 1 kB / 0.6798 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.931, allocations: 2.562 kB / 0.6798 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.931, allocations: 0 / 0.6798 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007048/0.9317, allocations: 0.5239 MB / 0.6803 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.9317, allocations: 2.812 kB / 0.6803 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.9319, allocations: 56.09 kB / 0.6803 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.9319, allocations: 2.125 kB / 0.6803 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.932, allocations: 17.25 kB / 0.6804 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003612/0.9323, allocations: 0.5949 MB / 0.6809 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.9323, allocations: 0 / 0.6809 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.9327, allocations: 280.9 kB / 0.6812 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.9328, allocations: 103.9 kB / 0.6813 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.9328, allocations: 7.469 kB / 0.6813 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.9331, allocations: 16.14 kB / 0.6813 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.9331, allocations: 15.59 kB / 0.6813 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.9331, allocations: 19.12 kB / 0.6814 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001244/0.9333, allocations: 137.4 kB / 0.6815 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.9333, allocations: 3.938 kB / 0.6815 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000827/0.9341, allocations: 207.2 kB / 0.6817 GB, free: 9.504 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.001477/0.9356, allocations: 1.06 MB / 0.6827 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000556/0.9361, allocations: 220.5 kB / 0.6829 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.9361, allocations: 3.594 kB / 0.6829 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.9363, allocations: 79.91 kB / 0.683 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005968/0.9369, allocations: 70.72 kB / 0.6831 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005318/0.9422, allocations: 4.122 MB / 0.6871 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.9426, allocations: 0.726 MB / 0.6878 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003995/0.943, allocations: 102.4 kB / 0.6879 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.9431, allocations: 72.06 kB / 0.688 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.9431, allocations: 0 / 0.688 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.9738, allocations: 8.936 MB / 0.6967 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.29, allocations: 7.281 kB / 0.6967 GB, free: 4.949 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/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.72239270096179]