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.001728/0.001728, allocations: 112.5 kB / 17.86 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002162/0.002162, allocations: 209.7 kB / 18.79 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.44/2.44, allocations: 227.4 MB / 246.9 MB, free: 9.012 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2373/0.2373, allocations: 46.11 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002053, allocations: 75.44 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1864, allocations: 62.44 MB / 479.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.6378/0.8243, allocations: 136.9 MB / 0.6024 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008848/0.8332, allocations: 4.763 MB / 0.607 GB, free: 6.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000316/0.8336, allocations: 4 kB / 0.607 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006136/0.8343, allocations: 51.72 kB / 0.6071 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003802/0.8381, allocations: 0.6726 MB / 0.6077 GB, free: 5.406 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007187/0.8388, allocations: 153.2 kB / 0.6079 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009792/0.8398, allocations: 446 kB / 0.6083 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.8399, allocations: 13.67 kB / 0.6083 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.8403, allocations: 151.4 kB / 0.6085 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.8408, allocations: 203.3 kB / 0.6087 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.451e-05/0.8409, allocations: 8 kB / 0.6087 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.8438, allocations: 0.7252 MB / 0.6094 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.8439, allocations: 43.81 kB / 0.6094 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.8442, allocations: 107.5 kB / 0.6095 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009207/0.8451, allocations: 317.3 kB / 0.6098 GB, free: 3.277 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.8451, allocations: 4 kB / 0.6098 GB, free: 3.273 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.8451, allocations: 0 / 0.6098 GB, free: 3.273 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.8452, allocations: 0 / 0.6098 GB, free: 3.273 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.001954/0.8471, allocations: 0.6086 MB / 0.6104 GB, free: 2.613 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.878e-05/0.8472, allocations: 8.875 kB / 0.6104 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.8475, allocations: 28.69 kB / 0.6105 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.8479, allocations: 232 kB / 0.6107 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.8482, allocations: 119.9 kB / 0.6108 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.8482, allocations: 24.56 kB / 0.6108 GB, free: 2.148 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008398/0.8491, allocations: 326.7 kB / 0.6111 GB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.8491, allocations: 0 / 0.6111 GB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.096e-05/0.8492, allocations: 12 kB / 0.6111 GB, free: 1.797 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.8492, allocations: 11.98 kB / 0.6111 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.8506, allocations: 0.739 MB / 0.6119 GB, free: 1.043 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.002297/0.8529, allocations: 1.222 MB / 0.6131 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/0.8537, allocations: 176.6 kB / 0.6132 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.8539, allocations: 86.34 kB / 0.6133 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00416/0.8581, allocations: 2.703 MB / 0.616 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.8582, allocations: 30.56 kB / 0.616 GB, free: 12.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 2.514e-06/0.8582, allocations: 3.938 kB / 0.616 GB, free: 12.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.00112/0.8593, allocations: 220.2 kB / 0.6162 GB, free: 11.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.8594, allocations: 55.34 kB / 0.6162 GB, free: 11.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.8597, allocations: 216.1 kB / 0.6165 GB, free: 11.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.8598, allocations: 33.7 kB / 0.6165 GB, free: 11.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.86, allocations: 218.6 kB / 0.6167 GB, free: 11.42 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.8601, allocations: 51.34 kB / 0.6167 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.8603, allocations: 86.03 kB / 0.6168 GB, free: 11.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.8605, allocations: 334.8 kB / 0.6171 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.8606, allocations: 44.84 kB / 0.6172 GB, free: 10.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.8611, allocations: 321.2 kB / 0.6175 GB, free: 10.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00072/0.8618, allocations: 412.4 kB / 0.6179 GB, free: 9.922 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.8618, allocations: 4.562 kB / 0.6179 GB, free: 9.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001008/0.8629, allocations: 377.2 kB / 0.6183 GB, free: 9.543 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.8629, allocations: 8 kB / 0.6183 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.863, allocations: 12 kB / 0.6183 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.722e-05/0.863, allocations: 12 kB / 0.6183 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006486/0.8637, allocations: 115.7 kB / 0.6184 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.09e-05/0.8637, allocations: 22.31 kB / 0.6184 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.8642, allocations: 24.44 kB / 0.6184 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-05/0.8643, allocations: 27.98 kB / 0.6185 GB, free: 9.328 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.0002287/0.8645, allocations: 149.7 kB / 0.6186 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.741e-05/0.8646, allocations: 15.81 kB / 0.6186 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005011/0.8652, allocations: 159.7 kB / 0.6188 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.8652, allocations: 3.938 kB / 0.6188 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.8652, allocations: 0 / 0.6188 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8652, allocations: 0 / 0.6188 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008775/0.8661, allocations: 444 kB / 0.6192 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.8661, allocations: 0 / 0.6192 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.8664, allocations: 36.03 kB / 0.6192 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.8664, allocations: 0 / 0.6192 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.8665, allocations: 7.875 kB / 0.6192 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.8665, allocations: 0 / 0.6192 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.8665, allocations: 0 / 0.6192 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.8669, allocations: 224.8 kB / 0.6195 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.867, allocations: 100.9 kB / 0.6196 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.8671, allocations: 11.92 kB / 0.6196 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.8675, allocations: 7.984 kB / 0.6196 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.8675, allocations: 15.98 kB / 0.6196 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.8676, allocations: 4 kB / 0.6196 GB, free: 8.055 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.8678, allocations: 152.4 kB / 0.6197 GB, free: 7.902 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8678, allocations: 0 / 0.6197 GB, free: 7.902 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009374/0.8688, allocations: 100 kB / 0.6198 GB, free: 7.805 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.0005373/0.8693, allocations: 167.2 kB / 0.62 GB, free: 7.633 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005242/0.8699, allocations: 177.8 kB / 0.6202 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8699, allocations: 256 / 0.6202 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.789e-05/0.87, allocations: 39.92 kB / 0.6202 GB, free: 7.422 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/0.8708, allocations: 49.38 kB / 0.6202 GB, free: 7.375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.8724, allocations: 0.6008 MB / 0.6208 GB, free: 6.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.8728, allocations: 0.7248 MB / 0.6215 GB, free: 5.977 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.873, allocations: 35.42 kB / 0.6216 GB, free: 5.941 MB / 462.1 MB Notification: Performance of SimCode: time 1.203e-06/0.873, allocations: 0 / 0.6216 GB, free: 5.941 MB / 462.1 MB Notification: Performance of Templates: time 0.009801/0.8828, allocations: 3.296 MB / 0.6248 GB, free: 2.656 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches