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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 105.2 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001715, allocations: 192.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2232/0.2232, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 254.1 MB 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.001455/0.001455, allocations: 73.47 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1206, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4608/0.5814, allocations: 151.4 MB / 0.6353 GB, free: 3.457 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006045/0.5875, allocations: 4.706 MB / 0.6399 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.5877, allocations: 0 / 0.6399 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.5881, allocations: 51.66 kB / 0.6399 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004772/0.5929, allocations: 1.563 MB / 0.6414 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.5933, allocations: 137.5 kB / 0.6416 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006688/0.5939, allocations: 394.1 kB / 0.6419 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.746e-05/0.594, allocations: 17.69 kB / 0.642 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.5944, allocations: 167.3 kB / 0.6421 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003234/0.5947, allocations: 175.5 kB / 0.6423 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.5947, allocations: 8 kB / 0.6423 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.5974, allocations: 1.298 MB / 0.6436 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.5976, allocations: 47.75 kB / 0.6436 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.5978, allocations: 107.6 kB / 0.6437 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.5998, allocations: 0.9706 MB / 0.6446 GB, free: 9.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5999, allocations: 4 kB / 0.6447 GB, free: 9.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5999, allocations: 0 / 0.6447 GB, free: 9.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.5999, allocations: 0 / 0.6447 GB, free: 9.84 MB / 494.1 MB 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.001443/0.6013, allocations: 0.7062 MB / 0.6453 GB, free: 9.086 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.6014, allocations: 15.89 kB / 0.6454 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.755e-05/0.6015, allocations: 62.72 kB / 0.6454 GB, free: 9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007247/0.6087, allocations: 0.5901 MB / 0.646 GB, free: 8.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.6093, allocations: 264 kB / 0.6462 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.6094, allocations: 135.3 kB / 0.6464 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.746e-05/0.6095, allocations: 20 kB / 0.6464 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.6106, allocations: 0.5633 MB / 0.6469 GB, free: 7.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.6107, allocations: 0 / 0.6469 GB, free: 7.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.725e-05/0.6108, allocations: 8 kB / 0.647 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.6108, allocations: 8 kB / 0.647 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.6122, allocations: 0.6298 MB / 0.6476 GB, free: 6.691 MB / 494.1 MB 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.002025/0.6142, allocations: 1.653 MB / 0.6492 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.6145, allocations: 154.5 kB / 0.6493 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.6147, allocations: 76.48 kB / 0.6494 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002144/0.6168, allocations: 2.079 MB / 0.6514 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.6169, allocations: 30.56 kB / 0.6515 GB, free: 2.195 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.6169, allocations: 0 / 0.6515 GB, free: 2.195 MB / 494.1 MB 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.001018/0.6179, allocations: 345.3 kB / 0.6518 GB, free: 1.852 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.618, allocations: 51.41 kB / 0.6518 GB, free: 1.789 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.6182, allocations: 178.2 kB / 0.652 GB, free: 1.602 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.6182, allocations: 33.69 kB / 0.652 GB, free: 1.562 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.6183, allocations: 175.4 kB / 0.6522 GB, free: 1.387 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.6184, allocations: 78.92 kB / 0.6523 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.6185, allocations: 89.97 kB / 0.6524 GB, free: 1.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.6186, allocations: 330.7 kB / 0.6527 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.6188, allocations: 68.08 kB / 0.6528 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.619, allocations: 267.8 kB / 0.653 GB, free: 476 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.6194, allocations: 370.2 kB / 0.6534 GB, free: 8 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.6195, allocations: 7.984 kB / 0.6534 GB, free: 0 / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006194/0.6201, allocations: 362.8 kB / 0.6537 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.6201, allocations: 8 kB / 0.6537 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.6201, allocations: 11.98 kB / 0.6537 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.6202, allocations: 8 kB / 0.6537 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.6206, allocations: 123.8 kB / 0.6539 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003365/0.6209, allocations: 0.6077 MB / 0.6545 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.6212, allocations: 43.69 kB / 0.6545 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.6212, allocations: 36 kB / 0.6545 GB, free: 14.79 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.0001621/0.6214, allocations: 153.5 kB / 0.6547 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.6215, allocations: 19.81 kB / 0.6547 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006591/0.6221, allocations: 329.2 kB / 0.655 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.6221, allocations: 0 / 0.655 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6222, allocations: 7.922 kB / 0.655 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.6222, allocations: 4 kB / 0.655 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007468/0.6229, allocations: 0.518 MB / 0.6555 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6229, allocations: 0.9375 kB / 0.6555 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.6232, allocations: 59.89 kB / 0.6556 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.6232, allocations: 4 kB / 0.6556 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.6232, allocations: 8 kB / 0.6556 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002923/0.6235, allocations: 0.5899 MB / 0.6562 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.6235, allocations: 16.11 kB / 0.6562 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.6239, allocations: 269.7 kB / 0.6564 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.624, allocations: 112.9 kB / 0.6566 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.6241, allocations: 8.812 kB / 0.6566 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.6243, allocations: 11.98 kB / 0.6566 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.6244, allocations: 23.86 kB / 0.6566 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.6244, allocations: 12 kB / 0.6566 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001209/0.6245, allocations: 135 kB / 0.6567 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6245, allocations: 3.938 kB / 0.6567 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007867/0.6253, allocations: 204 kB / 0.6569 GB, free: 12.15 MB / 0.4981 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.001605/0.627, allocations: 1.061 MB / 0.658 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005174/0.6275, allocations: 225.1 kB / 0.6582 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.6275, allocations: 4 kB / 0.6582 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.6277, allocations: 84.45 kB / 0.6583 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.6283, allocations: 69.56 kB / 0.6583 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00548/0.6338, allocations: 4.118 MB / 0.6624 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.6341, allocations: 0.7245 MB / 0.6631 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003533/0.6344, allocations: 98.16 kB / 0.6632 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.6346, allocations: 67.41 kB / 0.6632 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.6346, allocations: 0 / 0.6632 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.6658, allocations: 8.912 MB / 0.6719 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.74, allocations: 11.98 kB / 0.6719 GB, free: 12.44 MB / 0.5137 GB (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 --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) 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) Reference file matches