Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",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.001026/0.001026, allocations: 108.5 kB / 17.78 MB, free: 5.289 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.000972/0.0009721, allocations: 187.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2137/0.2137, allocations: 44.19 MB / 336.8 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3317, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1685/0.5002, allocations: 150.1 MB / 0.6651 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005853/0.5061, allocations: 5.143 MB / 0.6701 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.5063, allocations: 0 / 0.6701 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.5066, allocations: 67.59 kB / 0.6702 GB, free: 240 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.5103, allocations: 1.191 MB / 0.6713 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.5106, allocations: 139.4 kB / 0.6714 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.5111, allocations: 402.1 kB / 0.6718 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.5112, allocations: 9.688 kB / 0.6718 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.5114, allocations: 167.4 kB / 0.672 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.5117, allocations: 167.4 kB / 0.6722 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.5118, allocations: 8 kB / 0.6722 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.5136, allocations: 1.018 MB / 0.6732 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.953e-05/0.5137, allocations: 51.73 kB / 0.6732 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.5138, allocations: 107.5 kB / 0.6733 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.5151, allocations: 0.842 MB / 0.6741 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5152, allocations: 3.938 kB / 0.6741 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5152, allocations: 0 / 0.6741 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.5152, allocations: 0 / 0.6741 GB, free: 12.15 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.001359/0.5165, allocations: 0.6866 MB / 0.6748 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.5166, allocations: 8.031 kB / 0.6748 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.942e-05/0.5167, allocations: 62.72 kB / 0.6749 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007297/0.524, allocations: 0.5858 MB / 0.6755 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.5245, allocations: 271.1 kB / 0.6757 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.5247, allocations: 123.4 kB / 0.6758 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.241e-05/0.5248, allocations: 24 kB / 0.6758 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.5259, allocations: 0.5634 MB / 0.6764 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.526, allocations: 0 / 0.6764 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.986e-05/0.526, allocations: 12 kB / 0.6764 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.5261, allocations: 8 kB / 0.6764 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.5274, allocations: 0.6299 MB / 0.677 GB, free: 9.023 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.002216/0.5296, allocations: 1.705 MB / 0.6787 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.53, allocations: 170.5 kB / 0.6789 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.5301, allocations: 72.83 kB / 0.6789 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006526/0.5308, allocations: 0.7005 MB / 0.6796 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.5308, allocations: 38.5 kB / 0.6797 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.5309, allocations: 0 / 0.6797 GB, free: 6.07 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=17): time 0.001017/0.5319, allocations: 317.2 kB / 0.68 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.5319, allocations: 55.41 kB / 0.68 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.5321, allocations: 194.9 kB / 0.6802 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.5321, allocations: 33.7 kB / 0.6802 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.5323, allocations: 183.2 kB / 0.6804 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.5323, allocations: 67.17 kB / 0.6805 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.5325, allocations: 93.95 kB / 0.6806 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5326, allocations: 326.8 kB / 0.6809 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.5327, allocations: 72.7 kB / 0.6809 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.533, allocations: 267.8 kB / 0.6812 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.5334, allocations: 372.5 kB / 0.6815 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.5334, allocations: 4 kB / 0.6815 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006416/0.5341, allocations: 365 kB / 0.6819 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.5341, allocations: 14.12 kB / 0.6819 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.5341, allocations: 8 kB / 0.6819 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.5342, allocations: 8 kB / 0.6819 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.5346, allocations: 124.5 kB / 0.682 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003789/0.535, allocations: 0.6055 MB / 0.6826 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.5352, allocations: 39.53 kB / 0.6827 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.5353, allocations: 47.92 kB / 0.6827 GB, free: 2.66 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.0001431/0.5355, allocations: 145.6 kB / 0.6829 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.5355, allocations: 23.81 kB / 0.6829 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008091/0.5363, allocations: 433 kB / 0.6833 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.5364, allocations: 4 kB / 0.6833 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5364, allocations: 0 / 0.6833 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5364, allocations: 3.984 kB / 0.6833 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008755/0.5373, allocations: 0.6304 MB / 0.6839 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5373, allocations: 4 kB / 0.6839 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.5375, allocations: 59.84 kB / 0.684 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5376, allocations: 0 / 0.684 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.5376, allocations: 15.94 kB / 0.684 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003315/0.5379, allocations: 0.598 MB / 0.6846 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5379, allocations: 0 / 0.6846 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.5383, allocations: 296.2 kB / 0.6849 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.5384, allocations: 108.8 kB / 0.685 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.5385, allocations: 7.938 kB / 0.685 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.5387, allocations: 15.98 kB / 0.685 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.5388, allocations: 19.86 kB / 0.685 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.5388, allocations: 23.98 kB / 0.685 GB, free: 100 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001461/0.539, allocations: 140.2 kB / 0.6852 GB, free: 15.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.539, allocations: 0 / 0.6852 GB, free: 15.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006279/0.5396, allocations: 156 kB / 0.6853 GB, free: 15.81 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.001128/0.5407, allocations: 0.9516 MB / 0.6862 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005323/0.5413, allocations: 229.3 kB / 0.6865 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5413, allocations: 0 / 0.6865 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.5415, allocations: 80.39 kB / 0.6865 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.5421, allocations: 71.98 kB / 0.6866 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.5456, allocations: 2.835 MB / 0.6894 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.5459, allocations: 0.7285 MB / 0.6901 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007263/0.5466, allocations: 385 kB / 0.6905 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.5468, allocations: 91.36 kB / 0.6905 GB, free: 10.09 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.5468, allocations: 0 / 0.6905 GB, free: 10.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.5745, allocations: 7.467 MB / 0.6978 GB, free: 2.773 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.68, allocations: 13.84 kB / 0.6978 GB, free: 2.766 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches