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.00102/0.00102, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001031/0.001031, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 75.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1192, allocations: 62.44 MB / 481.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4079/0.5272, allocations: 139 MB / 0.6059 GB, free: 7.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005131/0.5324, allocations: 4.727 MB / 0.6105 GB, free: 3.004 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.5326, allocations: 4 kB / 0.6105 GB, free: 3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004501/0.5332, allocations: 63.53 kB / 0.6106 GB, free: 2.938 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.5355, allocations: 0.7345 MB / 0.6113 GB, free: 2.199 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.5359, allocations: 155.1 kB / 0.6115 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005496/0.5365, allocations: 378.2 kB / 0.6118 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.5366, allocations: 17.67 kB / 0.6118 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.5368, allocations: 163.4 kB / 0.612 GB, free: 1.508 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.537, allocations: 183.4 kB / 0.6122 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.5371, allocations: 8 kB / 0.6122 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.5384, allocations: 0.6942 MB / 0.6129 GB, free: 0.625 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.106e-05/0.5385, allocations: 51.75 kB / 0.6129 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.5387, allocations: 103.5 kB / 0.613 GB, free: 484 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007688/0.5394, allocations: 472.5 kB / 0.6134 GB, free: 16 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5395, allocations: 0 / 0.6134 GB, free: 16 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5395, allocations: 0 / 0.6134 GB, free: 16 kB / 446.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.5395, allocations: 0 / 0.6134 GB, free: 16 kB / 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.001089/0.5406, allocations: 0.5969 MB / 0.614 GB, free: 15.37 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5406, allocations: 8.031 kB / 0.614 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.5408, allocations: 28.73 kB / 0.6141 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.5411, allocations: 228 kB / 0.6143 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.5413, allocations: 123.9 kB / 0.6144 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.5414, allocations: 28.56 kB / 0.6144 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.5419, allocations: 322.8 kB / 0.6147 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.5419, allocations: 3.938 kB / 0.6147 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.5419, allocations: 12 kB / 0.6148 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.5419, allocations: 8 kB / 0.6148 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007679/0.5427, allocations: 0.7391 MB / 0.6155 GB, free: 13.79 MB / 462.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.001353/0.5441, allocations: 1.232 MB / 0.6167 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.5445, allocations: 163.8 kB / 0.6168 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.5447, allocations: 89.48 kB / 0.6169 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002514/0.5472, allocations: 2.703 MB / 0.6196 GB, free: 8.969 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.5472, allocations: 38.5 kB / 0.6196 GB, free: 8.922 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.5472, allocations: 8 kB / 0.6196 GB, free: 8.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006861/0.5479, allocations: 212.8 kB / 0.6198 GB, free: 8.699 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.548, allocations: 59.34 kB / 0.6199 GB, free: 8.629 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.5482, allocations: 212.1 kB / 0.6201 GB, free: 8.414 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.5482, allocations: 29.69 kB / 0.6201 GB, free: 8.379 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.5484, allocations: 222.7 kB / 0.6203 GB, free: 8.152 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.5484, allocations: 47.36 kB / 0.6204 GB, free: 8.105 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.5485, allocations: 78.03 kB / 0.6204 GB, free: 8.023 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5486, allocations: 330.8 kB / 0.6207 GB, free: 7.691 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.531e-05/0.5487, allocations: 56.83 kB / 0.6208 GB, free: 7.637 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.549, allocations: 321.1 kB / 0.6211 GB, free: 7.195 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.5494, allocations: 420.3 kB / 0.6215 GB, free: 6.652 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5494, allocations: 0 / 0.6215 GB, free: 6.652 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004998/0.5499, allocations: 381 kB / 0.6219 GB, free: 6.273 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5499, allocations: 8 kB / 0.6219 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.55, allocations: 8 kB / 0.6219 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.55, allocations: 12 kB / 0.6219 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.5503, allocations: 116.4 kB / 0.622 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.5503, allocations: 15.94 kB / 0.622 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.5505, allocations: 24 kB / 0.622 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.5506, allocations: 27.75 kB / 0.6221 GB, free: 6.07 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.000139/0.5507, allocations: 157.5 kB / 0.6222 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.5508, allocations: 15.81 kB / 0.6222 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.5511, allocations: 159.4 kB / 0.6224 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.5511, allocations: 3.938 kB / 0.6224 GB, free: 5.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.5511, allocations: 0 / 0.6224 GB, free: 5.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5511, allocations: 0 / 0.6224 GB, free: 5.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005375/0.5517, allocations: 440 kB / 0.6228 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5517, allocations: 3.938 kB / 0.6228 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.5518, allocations: 32.05 kB / 0.6229 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5518, allocations: 0 / 0.6229 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.5519, allocations: 11.98 kB / 0.6229 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5519, allocations: 0 / 0.6229 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5519, allocations: 0 / 0.6229 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.5521, allocations: 224.8 kB / 0.6231 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.5522, allocations: 105 kB / 0.6232 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.5523, allocations: 3.984 kB / 0.6232 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.5525, allocations: 11.98 kB / 0.6232 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.5525, allocations: 11.98 kB / 0.6232 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.5525, allocations: 8 kB / 0.6232 GB, free: 4.793 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.5527, allocations: 148.5 kB / 0.6234 GB, free: 4.645 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5527, allocations: 0 / 0.6234 GB, free: 4.645 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000475/0.5532, allocations: 95.94 kB / 0.6234 GB, free: 4.551 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.0002809/0.5534, allocations: 151.2 kB / 0.6236 GB, free: 4.395 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.5537, allocations: 189.9 kB / 0.6238 GB, free: 4.211 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5538, allocations: 0 / 0.6238 GB, free: 4.211 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.424e-05/0.5538, allocations: 39.98 kB / 0.6238 GB, free: 4.172 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.5542, allocations: 54.47 kB / 0.6239 GB, free: 4.125 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009498/0.5552, allocations: 0.5077 MB / 0.6244 GB, free: 3.582 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5555, allocations: 0.7285 MB / 0.6251 GB, free: 2.828 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.5557, allocations: 54.91 kB / 0.6251 GB, free: 2.777 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.5558, allocations: 31.44 kB / 0.6251 GB, free: 2.746 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5558, allocations: 0 / 0.6251 GB, free: 2.746 MB / 462.1 MB Notification: Performance of Templates: time 0.007126/0.5629, allocations: 3.207 MB / 0.6283 GB, free: 15.58 MB / 478.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 -s cvode -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