Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 98.3 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.118/1.118, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1601/0.1601, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001999/0.0001999, allocations: 8 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08419/0.0844, allocations: 63.56 MB / 483.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.262/0.3464, allocations: 135.1 MB / 0.6037 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004397/0.3508, allocations: 4.692 MB / 0.6083 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.351, allocations: 7.938 kB / 0.6083 GB, free: 8.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.3513, allocations: 47.73 kB / 0.6083 GB, free: 8.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.3526, allocations: 0.6687 MB / 0.609 GB, free: 7.531 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.353, allocations: 150.4 kB / 0.6091 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000475/0.3534, allocations: 442.1 kB / 0.6096 GB, free: 6.957 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.3535, allocations: 21.66 kB / 0.6096 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.3537, allocations: 155.3 kB / 0.6097 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.354, allocations: 191.4 kB / 0.6099 GB, free: 6.598 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.354, allocations: 8 kB / 0.6099 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.3551, allocations: 0.7213 MB / 0.6106 GB, free: 5.867 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.3552, allocations: 51.73 kB / 0.6107 GB, free: 5.816 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.3553, allocations: 133.2 kB / 0.6108 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006166/0.3559, allocations: 464.8 kB / 0.6112 GB, free: 5.227 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3559, allocations: 0 / 0.6112 GB, free: 5.227 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3559, allocations: 0 / 0.6112 GB, free: 5.227 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.3559, allocations: 0 / 0.6112 GB, free: 5.227 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.0008716/0.3568, allocations: 0.5579 MB / 0.6118 GB, free: 4.617 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.3569, allocations: 12.88 kB / 0.6118 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.357, allocations: 20.75 kB / 0.6118 GB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.3572, allocations: 228.9 kB / 0.612 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.3573, allocations: 123.9 kB / 0.6122 GB, free: 4.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.3573, allocations: 24.55 kB / 0.6122 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.3578, allocations: 326.7 kB / 0.6125 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3578, allocations: 0 / 0.6125 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.3578, allocations: 12 kB / 0.6125 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.3578, allocations: 4 kB / 0.6125 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006742/0.3585, allocations: 0.7469 MB / 0.6132 GB, free: 3.051 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.001072/0.3596, allocations: 1.231 MB / 0.6144 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.3599, allocations: 167.8 kB / 0.6146 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.36, allocations: 89.41 kB / 0.6147 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001904/0.362, allocations: 2.699 MB / 0.6173 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.362, allocations: 38.56 kB / 0.6174 GB, free: 14.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.362, allocations: 0 / 0.6174 GB, free: 14.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005254/0.3625, allocations: 216.8 kB / 0.6176 GB, free: 13.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.3626, allocations: 59.34 kB / 0.6176 GB, free: 13.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.3627, allocations: 212.1 kB / 0.6178 GB, free: 13.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.3628, allocations: 33.7 kB / 0.6179 GB, free: 13.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3629, allocations: 210.8 kB / 0.6181 GB, free: 13.42 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.3629, allocations: 51.27 kB / 0.6181 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.363, allocations: 41.7 kB / 0.6181 GB, free: 13.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.3631, allocations: 330.8 kB / 0.6185 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.568e-05/0.3631, allocations: 52.84 kB / 0.6185 GB, free: 12.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.3634, allocations: 317.2 kB / 0.6188 GB, free: 12.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.3637, allocations: 424.3 kB / 0.6192 GB, free: 11.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3637, allocations: 4 kB / 0.6192 GB, free: 11.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000466/0.3642, allocations: 373 kB / 0.6196 GB, free: 11.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3642, allocations: 8 kB / 0.6196 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3642, allocations: 11.98 kB / 0.6196 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3643, allocations: 16.75 kB / 0.6196 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.3646, allocations: 108.6 kB / 0.6197 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.3646, allocations: 23.92 kB / 0.6197 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.3648, allocations: 23.94 kB / 0.6198 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.3648, allocations: 28 kB / 0.6198 GB, free: 11.37 MB / 462.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.3649, allocations: 141.7 kB / 0.6199 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.365, allocations: 19.81 kB / 0.6199 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.3652, allocations: 163.4 kB / 0.6201 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.3653, allocations: 11.97 kB / 0.6201 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3653, allocations: 0.875 kB / 0.6201 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3653, allocations: 0 / 0.6201 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.3657, allocations: 440.1 kB / 0.6205 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3657, allocations: 7.938 kB / 0.6205 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.3659, allocations: 27.92 kB / 0.6206 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3659, allocations: 4 kB / 0.6206 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3659, allocations: 8 kB / 0.6206 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3659, allocations: 0 / 0.6206 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3659, allocations: 4 kB / 0.6206 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.3661, allocations: 221 kB / 0.6208 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.3662, allocations: 108.8 kB / 0.6209 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3662, allocations: 8 kB / 0.6209 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.3664, allocations: 7.984 kB / 0.6209 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.3664, allocations: 15.92 kB / 0.6209 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.3664, allocations: 8 kB / 0.6209 GB, free: 10.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.3666, allocations: 148.5 kB / 0.6211 GB, free: 9.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3666, allocations: 4 kB / 0.6211 GB, free: 9.926 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004046/0.367, allocations: 92 kB / 0.6212 GB, free: 9.836 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002316/0.3672, allocations: 159.2 kB / 0.6213 GB, free: 9.672 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.3675, allocations: 185.5 kB / 0.6215 GB, free: 9.492 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3675, allocations: 0 / 0.6215 GB, free: 9.492 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.674e-05/0.3675, allocations: 32.58 kB / 0.6215 GB, free: 9.461 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.3679, allocations: 55.02 kB / 0.6216 GB, free: 9.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.3687, allocations: 0.6229 MB / 0.6222 GB, free: 8.746 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.3689, allocations: 0.7248 MB / 0.6229 GB, free: 7.992 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.3692, allocations: 62.91 kB / 0.623 GB, free: 7.934 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.3692, allocations: 27.42 kB / 0.623 GB, free: 7.906 MB / 462.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3692, allocations: 0 / 0.623 GB, free: 7.906 MB / 462.1 MB Notification: Performance of Templates: time 0.005525/0.3748, allocations: 3.115 MB / 0.626 GB, free: 4.832 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches