Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001699/0.001704, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2874/0.2874, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004638, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1186, allocations: 58.85 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.5123/0.631, allocations: 115.3 MB / 0.5913 GB, free: 7.043 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006975/0.638, allocations: 3.85 MB / 0.5951 GB, free: 3.188 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.6382, allocations: 8 kB / 0.5951 GB, free: 3.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.6386, allocations: 43.77 kB / 0.5951 GB, free: 3.137 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.6412, allocations: 0.621 MB / 0.5957 GB, free: 2.516 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.6418, allocations: 145.1 kB / 0.5959 GB, free: 2.375 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006602/0.6425, allocations: 263.4 kB / 0.5961 GB, free: 2.117 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.052e-05/0.6426, allocations: 13.69 kB / 0.5962 GB, free: 2.105 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.6429, allocations: 147.6 kB / 0.5963 GB, free: 1.961 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004118/0.6433, allocations: 159.5 kB / 0.5964 GB, free: 1.805 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.6434, allocations: 4 kB / 0.5964 GB, free: 1.801 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.6457, allocations: 0.6164 MB / 0.5971 GB, free: 1.184 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.6458, allocations: 47.8 kB / 0.5971 GB, free: 1.137 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.646, allocations: 65.64 kB / 0.5972 GB, free: 1.066 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009289/0.6469, allocations: 281.1 kB / 0.5974 GB, free: 0.793 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.6469, allocations: 0 / 0.5974 GB, free: 0.793 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.6469, allocations: 4 kB / 0.5974 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.647, allocations: 4 kB / 0.5974 GB, free: 0.7852 MB / 394.7 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.001329/0.6483, allocations: 0.5418 MB / 0.598 GB, free: 204 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.6484, allocations: 8.031 kB / 0.598 GB, free: 196 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.6486, allocations: 32.19 kB / 0.598 GB, free: 164 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.6489, allocations: 226.8 kB / 0.5982 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.6491, allocations: 127.4 kB / 0.5983 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.6492, allocations: 24 kB / 0.5984 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.65, allocations: 314.8 kB / 0.5987 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.65, allocations: 4 kB / 0.5987 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.6501, allocations: 15.94 kB / 0.5987 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/0.6501, allocations: 11.98 kB / 0.5987 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.6515, allocations: 0.743 MB / 0.5994 GB, free: 14.62 MB / 410.7 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.002144/0.6537, allocations: 1.272 MB / 0.6007 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.6543, allocations: 167.7 kB / 0.6008 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003492/0.6578, allocations: 2.64 MB / 0.6034 GB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.6578, allocations: 42.55 kB / 0.6034 GB, free: 9.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/0.6579, allocations: 0 / 0.6034 GB, free: 9.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009695/0.6588, allocations: 237.3 kB / 0.6037 GB, free: 9.641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.6589, allocations: 51.41 kB / 0.6037 GB, free: 9.578 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.6592, allocations: 203 kB / 0.6039 GB, free: 9.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.6592, allocations: 29.7 kB / 0.6039 GB, free: 9.336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.6594, allocations: 285.2 kB / 0.6042 GB, free: 9.055 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/0.6595, allocations: 59.19 kB / 0.6043 GB, free: 8.996 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.6595, allocations: 11.94 kB / 0.6043 GB, free: 8.984 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.6597, allocations: 330.8 kB / 0.6046 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.6599, allocations: 52.83 kB / 0.6046 GB, free: 8.602 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.6602, allocations: 317.2 kB / 0.6049 GB, free: 8.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.6605, allocations: 100.5 kB / 0.605 GB, free: 8.062 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.6605, allocations: 4 kB / 0.605 GB, free: 8.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008885/0.6614, allocations: 373.5 kB / 0.6054 GB, free: 7.688 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.6615, allocations: 12 kB / 0.6054 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.6615, allocations: 8 kB / 0.6054 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.735e-05/0.6615, allocations: 19.95 kB / 0.6054 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006784/0.6622, allocations: 111.8 kB / 0.6055 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.634e-05/0.6623, allocations: 15.94 kB / 0.6056 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.6627, allocations: 19.98 kB / 0.6056 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/0.6627, allocations: 32.28 kB / 0.6056 GB, free: 7.473 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001962/0.663, allocations: 150.3 kB / 0.6058 GB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.663, allocations: 19.81 kB / 0.6058 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005804/0.6636, allocations: 181 kB / 0.6059 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.6637, allocations: 3.953 kB / 0.6059 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6637, allocations: 0 / 0.6059 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.6637, allocations: 3.984 kB / 0.606 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/0.6646, allocations: 473.6 kB / 0.6064 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.425e-06/0.6646, allocations: 5.391 kB / 0.6064 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.6649, allocations: 31.98 kB / 0.6064 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.665, allocations: 7.938 kB / 0.6064 GB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.665, allocations: 3.984 kB / 0.6065 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.665, allocations: 4 kB / 0.6065 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.665, allocations: 3.938 kB / 0.6065 GB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.6654, allocations: 281.6 kB / 0.6067 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.6656, allocations: 120.9 kB / 0.6068 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.6657, allocations: 0 / 0.6068 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.666, allocations: 12.88 kB / 0.6069 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.6661, allocations: 15.97 kB / 0.6069 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.6661, allocations: 15.92 kB / 0.6069 GB, free: 6.012 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.6663, allocations: 140.5 kB / 0.607 GB, free: 5.875 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6663, allocations: 0 / 0.607 GB, free: 5.875 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007633/0.6671, allocations: 95.98 kB / 0.6071 GB, free: 5.781 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003224/0.6675, allocations: 147.1 kB / 0.6073 GB, free: 5.625 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005043/0.668, allocations: 177.4 kB / 0.6074 GB, free: 5.453 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.668, allocations: 0 / 0.6074 GB, free: 5.453 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.6681, allocations: 40.48 kB / 0.6075 GB, free: 5.414 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.6687, allocations: 48.88 kB / 0.6075 GB, free: 5.363 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.6698, allocations: 0.5434 MB / 0.608 GB, free: 4.773 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.6702, allocations: 0.7326 MB / 0.6088 GB, free: 4.016 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.6704, allocations: 35.42 kB / 0.6088 GB, free: 3.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.6704, allocations: 0 / 0.6088 GB, free: 3.98 MB / 410.7 MB Notification: Performance of Templates: time 0.008859/0.6792, allocations: 3.228 MB / 0.6119 GB, free: 0.7539 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches