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.001226/0.001226, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2025/0.2025, allocations: 46.11 MB / 344.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 72.45 kB / 419 MB, free: 18.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1073, allocations: 62.45 MB / 481.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.336/0.4434, allocations: 139 MB / 0.6059 GB, free: 7.715 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005101/0.4485, allocations: 4.725 MB / 0.6105 GB, free: 2.992 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.4487, allocations: 7.938 kB / 0.6105 GB, free: 2.984 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.4491, allocations: 59.58 kB / 0.6106 GB, free: 2.926 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.451, allocations: 0.7277 MB / 0.6113 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.4514, allocations: 162.1 kB / 0.6115 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005767/0.452, allocations: 386.1 kB / 0.6118 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.452, allocations: 13.67 kB / 0.6118 GB, free: 1.652 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.4523, allocations: 155.5 kB / 0.612 GB, free: 1.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.4526, allocations: 187.4 kB / 0.6122 GB, free: 1.316 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.4527, allocations: 8 kB / 0.6122 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.454, allocations: 0.6942 MB / 0.6129 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.4541, allocations: 43.77 kB / 0.6129 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.4542, allocations: 107.5 kB / 0.613 GB, free: 476 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008714/0.4551, allocations: 468.5 kB / 0.6134 GB, free: 12 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4551, allocations: 0 / 0.6134 GB, free: 12 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4551, allocations: 4 kB / 0.6135 GB, free: 8 kB / 446.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.4552, allocations: 0 / 0.6135 GB, free: 8 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.00114/0.4563, allocations: 0.6008 MB / 0.614 GB, free: 15.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.4563, allocations: 8.031 kB / 0.614 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.4565, allocations: 28.73 kB / 0.6141 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.4569, allocations: 228 kB / 0.6143 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.457, allocations: 124.4 kB / 0.6144 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.457, allocations: 24.5 kB / 0.6144 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.4576, allocations: 322.8 kB / 0.6147 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4576, allocations: 0 / 0.6147 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.4576, allocations: 12 kB / 0.6148 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.4576, allocations: 11.94 kB / 0.6148 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007811/0.4584, allocations: 0.7468 MB / 0.6155 GB, free: 13.77 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.001282/0.4597, allocations: 1.229 MB / 0.6167 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.4601, allocations: 163.8 kB / 0.6169 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.4602, allocations: 93.47 kB / 0.6169 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002354/0.4626, allocations: 2.703 MB / 0.6196 GB, free: 8.953 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.4627, allocations: 42.5 kB / 0.6196 GB, free: 8.902 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.734e-06/0.4627, allocations: 0 / 0.6196 GB, free: 8.902 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006759/0.4633, allocations: 220.3 kB / 0.6198 GB, free: 8.684 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.4634, allocations: 55.34 kB / 0.6199 GB, free: 8.617 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.4636, allocations: 208.1 kB / 0.6201 GB, free: 8.406 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.4636, allocations: 33.69 kB / 0.6201 GB, free: 8.367 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.4637, allocations: 218.7 kB / 0.6203 GB, free: 8.145 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.4638, allocations: 55.34 kB / 0.6204 GB, free: 8.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.4639, allocations: 82.03 kB / 0.6205 GB, free: 8.004 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.464, allocations: 326.8 kB / 0.6208 GB, free: 7.676 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-05/0.4641, allocations: 56.83 kB / 0.6208 GB, free: 7.621 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.4644, allocations: 317.2 kB / 0.6211 GB, free: 7.184 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.4648, allocations: 413.5 kB / 0.6215 GB, free: 6.648 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4648, allocations: 11.94 kB / 0.6215 GB, free: 6.637 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005357/0.4653, allocations: 372.7 kB / 0.6219 GB, free: 6.266 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4653, allocations: 8.969 kB / 0.6219 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.4654, allocations: 8 kB / 0.6219 GB, free: 6.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.4654, allocations: 20 kB / 0.6219 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.4657, allocations: 111.8 kB / 0.622 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.4657, allocations: 15.94 kB / 0.622 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.466, allocations: 20 kB / 0.6221 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.466, allocations: 24 kB / 0.6221 GB, free: 6.062 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.0001176/0.4661, allocations: 157.5 kB / 0.6222 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.4662, allocations: 19.81 kB / 0.6223 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.4665, allocations: 151.8 kB / 0.6224 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.4665, allocations: 7.969 kB / 0.6224 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4665, allocations: 0 / 0.6224 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4665, allocations: 0 / 0.6224 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.467, allocations: 444.9 kB / 0.6228 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.467, allocations: 0 / 0.6228 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.4672, allocations: 31.92 kB / 0.6229 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4672, allocations: 0 / 0.6229 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.4672, allocations: 11.98 kB / 0.6229 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4672, allocations: 1.125 kB / 0.6229 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4672, allocations: 1.562 kB / 0.6229 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.4675, allocations: 225 kB / 0.6231 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.886e-05/0.4676, allocations: 104.8 kB / 0.6232 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.4676, allocations: 3.984 kB / 0.6232 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.4678, allocations: 15.98 kB / 0.6232 GB, free: 4.797 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.4679, allocations: 7.984 kB / 0.6232 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.4679, allocations: 4.875 kB / 0.6232 GB, free: 4.785 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.468, allocations: 152.5 kB / 0.6234 GB, free: 4.633 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.468, allocations: 8 kB / 0.6234 GB, free: 4.625 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004773/0.4685, allocations: 91.94 kB / 0.6235 GB, free: 4.535 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.0002479/0.4688, allocations: 155.1 kB / 0.6236 GB, free: 4.375 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.4691, allocations: 181.8 kB / 0.6238 GB, free: 4.199 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4691, allocations: 0 / 0.6238 GB, free: 4.199 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.474e-05/0.4691, allocations: 39.92 kB / 0.6238 GB, free: 4.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.4696, allocations: 55.41 kB / 0.6239 GB, free: 4.109 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.4705, allocations: 0.5041 MB / 0.6244 GB, free: 3.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.4707, allocations: 0.7245 MB / 0.6251 GB, free: 2.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.471, allocations: 58.91 kB / 0.6251 GB, free: 2.766 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.471, allocations: 35.38 kB / 0.6252 GB, free: 2.73 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.471, allocations: 0 / 0.6252 GB, free: 2.73 MB / 462.1 MB Notification: Performance of Templates: time 0.007342/0.4784, allocations: 3.205 MB / 0.6283 GB, free: 15.56 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 gbode -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