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.000984/0.0009842, allocations: 109.7 kB / 17.21 MB, free: 6.285 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.001302/0.001302, allocations: 190 kB / 18.12 MB, free: 5.379 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.445/1.445, allocations: 222.9 MB / 241.8 MB, free: 15.47 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.2408/0.2408, allocations: 44.18 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 72.61 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1304, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4984/0.6287, allocations: 147.9 MB / 0.6021 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00765/0.6365, allocations: 5.232 MB / 0.6072 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002835/0.6368, allocations: 4 kB / 0.6072 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004276/0.6373, allocations: 47.72 kB / 0.6072 GB, free: 7.977 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004391/0.6417, allocations: 1.038 MB / 0.6082 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.6421, allocations: 133 kB / 0.6084 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007797/0.6429, allocations: 474 kB / 0.6088 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.93e-05/0.643, allocations: 9.688 kB / 0.6088 GB, free: 6.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004313/0.6435, allocations: 167.3 kB / 0.609 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.6439, allocations: 179.4 kB / 0.6092 GB, free: 6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.644, allocations: 8 kB / 0.6092 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.6463, allocations: 0.9848 MB / 0.6101 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.6465, allocations: 47.75 kB / 0.6102 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.6466, allocations: 111.5 kB / 0.6103 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.6491, allocations: 0.8576 MB / 0.6111 GB, free: 3.992 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.6491, allocations: 4 kB / 0.6111 GB, free: 3.988 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.6491, allocations: 0 / 0.6111 GB, free: 3.988 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.6491, allocations: 4 kB / 0.6111 GB, free: 3.984 MB / 446.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.001783/0.6509, allocations: 0.6835 MB / 0.6118 GB, free: 3.254 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.651, allocations: 8.031 kB / 0.6118 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.619e-05/0.6511, allocations: 62.72 kB / 0.6119 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007535/0.6586, allocations: 0.5824 MB / 0.6124 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.6591, allocations: 267.5 kB / 0.6127 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.6593, allocations: 127.4 kB / 0.6128 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.6594, allocations: 20 kB / 0.6128 GB, free: 2.121 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.6607, allocations: 0.5634 MB / 0.6134 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.6608, allocations: 7.938 kB / 0.6134 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.781e-05/0.6609, allocations: 12 kB / 0.6134 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.6609, allocations: 4 kB / 0.6134 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.6624, allocations: 0.6299 MB / 0.614 GB, free: 0.8711 MB / 446.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.002364/0.6648, allocations: 1.711 MB / 0.6157 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.6652, allocations: 156.6 kB / 0.6158 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.6654, allocations: 80.77 kB / 0.6159 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007886/0.6662, allocations: 0.7003 MB / 0.6166 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.6662, allocations: 42.55 kB / 0.6166 GB, free: 13.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.874e-06/0.6662, allocations: 0 / 0.6166 GB, free: 13.91 MB / 462.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=17): time 0.0011/0.6673, allocations: 319.8 kB / 0.6169 GB, free: 13.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.6674, allocations: 55.41 kB / 0.617 GB, free: 13.53 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.6676, allocations: 194.9 kB / 0.6172 GB, free: 13.33 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.6676, allocations: 37.64 kB / 0.6172 GB, free: 13.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.6677, allocations: 183.3 kB / 0.6174 GB, free: 13.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/0.6678, allocations: 63.09 kB / 0.6174 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.6679, allocations: 97.95 kB / 0.6175 GB, free: 12.94 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6681, allocations: 330.8 kB / 0.6179 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.6682, allocations: 68.7 kB / 0.6179 GB, free: 12.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.6685, allocations: 264.6 kB / 0.6182 GB, free: 12.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.669, allocations: 366.1 kB / 0.6185 GB, free: 11.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.669, allocations: 4 kB / 0.6185 GB, free: 11.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007004/0.6698, allocations: 369.5 kB / 0.6189 GB, free: 11.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.6698, allocations: 8 kB / 0.6189 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.6698, allocations: 8 kB / 0.6189 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.6698, allocations: 11.94 kB / 0.6189 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.6703, allocations: 123.8 kB / 0.619 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004122/0.6707, allocations: 0.6055 MB / 0.6196 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.671, allocations: 47.81 kB / 0.6197 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.967e-05/0.6711, allocations: 47.98 kB / 0.6197 GB, free: 10.5 MB / 462.1 MB 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.0001741/0.6713, allocations: 146.1 kB / 0.6198 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.552e-05/0.6714, allocations: 15.81 kB / 0.6199 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.6724, allocations: 441.6 kB / 0.6203 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6724, allocations: 0 / 0.6203 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.6724, allocations: 0 / 0.6203 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.6724, allocations: 0 / 0.6203 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009599/0.6734, allocations: 0.6305 MB / 0.6209 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.6734, allocations: 7.984 kB / 0.6209 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.6736, allocations: 59.91 kB / 0.621 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/0.6737, allocations: 4 kB / 0.621 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.6737, allocations: 4 kB / 0.621 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003157/0.674, allocations: 0.6015 MB / 0.6216 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.674, allocations: 0 / 0.6216 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.6744, allocations: 296.2 kB / 0.6218 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.6745, allocations: 108.8 kB / 0.6219 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.6746, allocations: 4 kB / 0.6219 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.6749, allocations: 15.98 kB / 0.622 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.6749, allocations: 15.98 kB / 0.622 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.675, allocations: 20.48 kB / 0.622 GB, free: 7.957 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.6751, allocations: 144.1 kB / 0.6221 GB, free: 7.816 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6751, allocations: 4 kB / 0.6221 GB, free: 7.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006663/0.6758, allocations: 156 kB / 0.6223 GB, free: 7.66 MB / 462.1 MB 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.001278/0.6771, allocations: 0.9543 MB / 0.6232 GB, free: 6.668 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005725/0.6776, allocations: 224 kB / 0.6234 GB, free: 6.449 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6777, allocations: 0 / 0.6234 GB, free: 6.449 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.6779, allocations: 89.27 kB / 0.6235 GB, free: 6.363 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005654/0.6785, allocations: 70.77 kB / 0.6236 GB, free: 6.297 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/0.6825, allocations: 2.915 MB / 0.6264 GB, free: 3.094 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.6829, allocations: 0.7207 MB / 0.6271 GB, free: 2.348 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009002/0.6838, allocations: 385 kB / 0.6275 GB, free: 1.965 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.684, allocations: 95.38 kB / 0.6276 GB, free: 1.871 MB / 462.1 MB Notification: Performance of SimCode: time 1.313e-06/0.684, allocations: 0 / 0.6276 GB, free: 1.871 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.7067, allocations: 7.081 MB / 0.6345 GB, free: 10.94 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/0.7069, allocations: 277.7 kB / 0.6348 GB, free: 10.56 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.674, allocations: 0 / 0.6348 GB, free: 10.56 MB / 478.1 MB (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