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.001199/0.001199, allocations: 91.53 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001859/0.001859, allocations: 196.4 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.626/1.626, allocations: 227.8 MB / 246.8 MB, free: 9.766 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004334/0.0004334, allocations: 8 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1607, allocations: 63.58 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4317/0.5923, allocations: 135.1 MB / 0.6037 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00569/0.5981, allocations: 4.7 MB / 0.6083 GB, free: 8.199 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.5983, allocations: 4 kB / 0.6083 GB, free: 8.195 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.5988, allocations: 51.72 kB / 0.6084 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.6009, allocations: 0.6648 MB / 0.609 GB, free: 7.477 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.6013, allocations: 151.2 kB / 0.6092 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006783/0.602, allocations: 438.1 kB / 0.6096 GB, free: 6.902 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.384e-05/0.6021, allocations: 17.66 kB / 0.6096 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.6024, allocations: 163.3 kB / 0.6098 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.6028, allocations: 191.4 kB / 0.6099 GB, free: 6.539 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.6028, allocations: 8 kB / 0.6099 GB, free: 6.531 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.6045, allocations: 0.7213 MB / 0.6107 GB, free: 5.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.6046, allocations: 51.75 kB / 0.6107 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.6048, allocations: 129.2 kB / 0.6108 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.6062, allocations: 472.7 kB / 0.6113 GB, free: 5.164 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6062, allocations: 0 / 0.6113 GB, free: 5.164 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6062, allocations: 0 / 0.6113 GB, free: 5.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.6062, allocations: 0 / 0.6113 GB, free: 5.164 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.001161/0.6074, allocations: 0.554 MB / 0.6118 GB, free: 4.559 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.6074, allocations: 12.88 kB / 0.6118 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.6076, allocations: 24.75 kB / 0.6119 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.6079, allocations: 224 kB / 0.6121 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.6081, allocations: 127.9 kB / 0.6122 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.6081, allocations: 16.56 kB / 0.6122 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.6086, allocations: 330.7 kB / 0.6125 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.6087, allocations: 0 / 0.6125 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.6087, allocations: 12 kB / 0.6125 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.6087, allocations: 4 kB / 0.6125 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008068/0.6095, allocations: 0.7468 MB / 0.6133 GB, free: 2.992 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.00138/0.6109, allocations: 1.222 MB / 0.6145 GB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.6113, allocations: 175.7 kB / 0.6146 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.6115, allocations: 81.48 kB / 0.6147 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002403/0.6139, allocations: 2.711 MB / 0.6174 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.6139, allocations: 30.56 kB / 0.6174 GB, free: 14.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.6139, allocations: 0 / 0.6174 GB, free: 14.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.000665/0.6146, allocations: 220.6 kB / 0.6176 GB, free: 13.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.6147, allocations: 67.27 kB / 0.6177 GB, free: 13.83 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.6149, allocations: 208.1 kB / 0.6179 GB, free: 13.62 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.6149, allocations: 33.7 kB / 0.6179 GB, free: 13.58 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.615, allocations: 206.8 kB / 0.6181 GB, free: 13.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.6151, allocations: 59.23 kB / 0.6181 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.6151, allocations: 37.7 kB / 0.6182 GB, free: 13.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6153, allocations: 326.8 kB / 0.6185 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.6154, allocations: 56.83 kB / 0.6185 GB, free: 12.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.6156, allocations: 321.2 kB / 0.6188 GB, free: 12.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.6161, allocations: 416.4 kB / 0.6192 GB, free: 11.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6161, allocations: 4 kB / 0.6192 GB, free: 11.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005708/0.6166, allocations: 374.1 kB / 0.6196 GB, free: 11.53 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6167, allocations: 8 kB / 0.6196 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.6167, allocations: 11.94 kB / 0.6196 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.6167, allocations: 16 kB / 0.6196 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.6171, allocations: 107.8 kB / 0.6197 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.6171, allocations: 23.98 kB / 0.6198 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.6173, allocations: 27.92 kB / 0.6198 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.6174, allocations: 28 kB / 0.6198 GB, free: 11.31 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.6175, allocations: 149.8 kB / 0.62 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.6176, allocations: 19.81 kB / 0.62 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.6179, allocations: 159.7 kB / 0.6201 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.6179, allocations: 7.938 kB / 0.6201 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.6179, allocations: 3.812 kB / 0.6201 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.6179, allocations: 0 / 0.6201 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005399/0.6185, allocations: 435.2 kB / 0.6206 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6185, allocations: 4 kB / 0.6206 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.6186, allocations: 23.98 kB / 0.6206 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.6186, allocations: 4 kB / 0.6206 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.6187, allocations: 12.05 kB / 0.6206 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/0.6187, allocations: 11.88 kB / 0.6206 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6187, allocations: 0 / 0.6206 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.6189, allocations: 216.9 kB / 0.6208 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.033e-05/0.619, allocations: 116.9 kB / 0.6209 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.619, allocations: 4 kB / 0.6209 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.6192, allocations: 8 kB / 0.6209 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.6193, allocations: 15.98 kB / 0.621 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.6193, allocations: 7.984 kB / 0.621 GB, free: 10.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.6194, allocations: 144.5 kB / 0.6211 GB, free: 9.875 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6195, allocations: 3.938 kB / 0.6211 GB, free: 9.871 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004768/0.6199, allocations: 95.98 kB / 0.6212 GB, free: 9.777 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.0003855/0.6203, allocations: 159.2 kB / 0.6213 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003069/0.6206, allocations: 177.4 kB / 0.6215 GB, free: 9.441 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.6207, allocations: 0 / 0.6215 GB, free: 9.441 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.071e-05/0.6207, allocations: 36.48 kB / 0.6216 GB, free: 9.406 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.6212, allocations: 64.33 kB / 0.6216 GB, free: 9.344 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009722/0.6222, allocations: 0.6224 MB / 0.6222 GB, free: 8.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.6225, allocations: 0.7248 MB / 0.6229 GB, free: 7.926 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002653/0.6228, allocations: 58.91 kB / 0.623 GB, free: 7.871 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.6228, allocations: 23.44 kB / 0.623 GB, free: 7.848 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.6228, allocations: 4 kB / 0.623 GB, free: 7.844 MB / 462.1 MB Notification: Performance of Templates: time 0.007437/0.6303, allocations: 3.108 MB / 0.626 GB, free: 4.777 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