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.001467/0.001467, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.4 MB / 246.3 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 76.72 kB / 416.8 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1136, allocations: 62.45 MB / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4389/0.5526, allocations: 136.9 MB / 0.6017 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00503/0.5576, allocations: 4.771 MB / 0.6064 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.5578, allocations: 0 / 0.6064 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.5582, allocations: 59.7 kB / 0.6065 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.5599, allocations: 0.657 MB / 0.6071 GB, free: 5.457 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.5603, allocations: 153.6 kB / 0.6073 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005413/0.5609, allocations: 454 kB / 0.6077 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.5609, allocations: 17.67 kB / 0.6077 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.5611, allocations: 147.4 kB / 0.6078 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.5614, allocations: 195.4 kB / 0.608 GB, free: 4.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.5615, allocations: 8 kB / 0.608 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.5628, allocations: 0.7213 MB / 0.6087 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.217e-05/0.5629, allocations: 51.73 kB / 0.6088 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.563, allocations: 107.5 kB / 0.6089 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000826/0.5638, allocations: 472.8 kB / 0.6093 GB, free: 3.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5639, allocations: 0 / 0.6093 GB, free: 3.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.5639, allocations: 0 / 0.6093 GB, free: 3.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.5639, allocations: 0 / 0.6093 GB, free: 3.172 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.001243/0.5651, allocations: 0.597 MB / 0.6099 GB, free: 2.523 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5652, allocations: 8.875 kB / 0.6099 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.5654, allocations: 32.73 kB / 0.61 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.5656, allocations: 228 kB / 0.6102 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.5657, allocations: 123.9 kB / 0.6103 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.5658, allocations: 24.56 kB / 0.6103 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.5663, allocations: 326.7 kB / 0.6106 GB, free: 1.715 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5663, allocations: 3.938 kB / 0.6106 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.5664, allocations: 14.25 kB / 0.6107 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.5664, allocations: 8 kB / 0.6107 GB, free: 1.691 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007792/0.5672, allocations: 0.739 MB / 0.6114 GB, free: 0.9492 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.001392/0.5686, allocations: 1.226 MB / 0.6126 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.569, allocations: 167.8 kB / 0.6127 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.5691, allocations: 89.48 kB / 0.6128 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002367/0.5715, allocations: 2.703 MB / 0.6155 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.5716, allocations: 38.5 kB / 0.6155 GB, free: 12.08 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.5716, allocations: 4 kB / 0.6155 GB, free: 12.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006666/0.5722, allocations: 216.4 kB / 0.6157 GB, free: 11.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.5723, allocations: 59.34 kB / 0.6158 GB, free: 11.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.5725, allocations: 212.1 kB / 0.616 GB, free: 11.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.5725, allocations: 29.7 kB / 0.616 GB, free: 11.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.5727, allocations: 218.7 kB / 0.6162 GB, free: 11.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.5727, allocations: 55.34 kB / 0.6163 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.5728, allocations: 78.03 kB / 0.6163 GB, free: 11.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5729, allocations: 326.8 kB / 0.6166 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.573, allocations: 52.84 kB / 0.6167 GB, free: 10.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.5733, allocations: 313.2 kB / 0.617 GB, free: 10.37 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.5737, allocations: 433.3 kB / 0.6174 GB, free: 9.816 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5738, allocations: 0 / 0.6174 GB, free: 9.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005191/0.5743, allocations: 379.8 kB / 0.6178 GB, free: 9.441 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5743, allocations: 12.03 kB / 0.6178 GB, free: 9.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.5743, allocations: 8 kB / 0.6178 GB, free: 9.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.5744, allocations: 12 kB / 0.6178 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.5747, allocations: 111.8 kB / 0.6179 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.259e-05/0.5747, allocations: 23.55 kB / 0.6179 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.5749, allocations: 23.94 kB / 0.618 GB, free: 9.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.575, allocations: 28 kB / 0.618 GB, free: 9.23 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.0001276/0.5751, allocations: 149.6 kB / 0.6181 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.5752, allocations: 19.81 kB / 0.6181 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.5755, allocations: 151.8 kB / 0.6183 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.5755, allocations: 7.922 kB / 0.6183 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5755, allocations: 4 kB / 0.6183 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5755, allocations: 4 kB / 0.6183 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006158/0.5762, allocations: 436 kB / 0.6187 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.5762, allocations: 0 / 0.6187 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.5763, allocations: 27.98 kB / 0.6187 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5763, allocations: 3.938 kB / 0.6187 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.5764, allocations: 8 kB / 0.6188 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5764, allocations: 0 / 0.6188 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5764, allocations: 8.047 kB / 0.6188 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.5766, allocations: 220.9 kB / 0.619 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.5767, allocations: 100.9 kB / 0.6191 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.5767, allocations: 7.938 kB / 0.6191 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.577, allocations: 11.98 kB / 0.6191 GB, free: 7.973 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.577, allocations: 11.98 kB / 0.6191 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.577, allocations: 7.938 kB / 0.6191 GB, free: 7.953 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.5771, allocations: 156.5 kB / 0.6193 GB, free: 7.797 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5771, allocations: 0 / 0.6193 GB, free: 7.797 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004702/0.5776, allocations: 88 kB / 0.6193 GB, free: 7.711 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.0003018/0.5779, allocations: 163.2 kB / 0.6195 GB, free: 7.543 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002956/0.5782, allocations: 180.1 kB / 0.6197 GB, free: 7.367 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.5782, allocations: 5.938 kB / 0.6197 GB, free: 7.363 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.77e-05/0.5783, allocations: 35.92 kB / 0.6197 GB, free: 7.328 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.5788, allocations: 60.33 kB / 0.6198 GB, free: 7.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.5798, allocations: 0.5717 MB / 0.6203 GB, free: 6.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.5802, allocations: 0.7287 MB / 0.621 GB, free: 5.902 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002793/0.5805, allocations: 54.92 kB / 0.6211 GB, free: 5.852 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/0.5806, allocations: 23.44 kB / 0.6211 GB, free: 5.828 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5806, allocations: 0 / 0.6211 GB, free: 5.828 MB / 462.1 MB Notification: Performance of Templates: time 0.007815/0.5884, allocations: 3.128 MB / 0.6242 GB, free: 2.738 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