Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 106.1 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001835, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2036/0.2036, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.61 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1059, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3503/0.4562, allocations: 136.1 MB / 0.5919 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005238/0.4615, allocations: 4.711 MB / 0.5965 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.4617, allocations: 0 / 0.5965 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.462, allocations: 59.59 kB / 0.5965 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.4637, allocations: 0.7306 MB / 0.5972 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.4641, allocations: 155.6 kB / 0.5974 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.4647, allocations: 370.1 kB / 0.5977 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.4647, allocations: 9.688 kB / 0.5977 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.4649, allocations: 163.5 kB / 0.5979 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.4652, allocations: 191.3 kB / 0.5981 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.4653, allocations: 11.94 kB / 0.5981 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.4666, allocations: 0.6863 MB / 0.5988 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.752e-05/0.4667, allocations: 39.83 kB / 0.5988 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.4668, allocations: 111.5 kB / 0.5989 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006964/0.4675, allocations: 460.9 kB / 0.5993 GB, free: 0.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4675, allocations: 0 / 0.5993 GB, free: 0.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4675, allocations: 0 / 0.5993 GB, free: 0.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.4675, allocations: 3.938 kB / 0.5993 GB, free: 0.9141 MB / 430.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.001038/0.4686, allocations: 0.5975 MB / 0.5999 GB, free: 276 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.4686, allocations: 8.031 kB / 0.5999 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.4688, allocations: 24.75 kB / 0.6 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.469, allocations: 232 kB / 0.6002 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.4692, allocations: 119.9 kB / 0.6003 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.4692, allocations: 20.56 kB / 0.6003 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.4697, allocations: 330.7 kB / 0.6006 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4697, allocations: 0 / 0.6006 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.4698, allocations: 12 kB / 0.6006 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.4698, allocations: 7.984 kB / 0.6006 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007882/0.4706, allocations: 0.7391 MB / 0.6014 GB, free: 14.7 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.001343/0.472, allocations: 1.222 MB / 0.6026 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.4724, allocations: 179.7 kB / 0.6027 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.4725, allocations: 85.47 kB / 0.6028 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002279/0.4748, allocations: 2.695 MB / 0.6054 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.4748, allocations: 46.5 kB / 0.6055 GB, free: 9.836 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.4748, allocations: 0 / 0.6055 GB, free: 9.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006457/0.4755, allocations: 217.5 kB / 0.6057 GB, free: 9.621 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.4756, allocations: 63.28 kB / 0.6058 GB, free: 9.547 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.4757, allocations: 215 kB / 0.606 GB, free: 9.328 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.4758, allocations: 25.7 kB / 0.606 GB, free: 9.297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.4759, allocations: 222.7 kB / 0.6062 GB, free: 9.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.476, allocations: 51.34 kB / 0.6062 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.262e-05/0.4761, allocations: 86.02 kB / 0.6063 GB, free: 8.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4762, allocations: 322.8 kB / 0.6066 GB, free: 8.605 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.603e-05/0.4763, allocations: 52.84 kB / 0.6067 GB, free: 8.555 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.4766, allocations: 332.9 kB / 0.607 GB, free: 8.094 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.477, allocations: 430 kB / 0.6074 GB, free: 7.535 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.477, allocations: 8 kB / 0.6074 GB, free: 7.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005412/0.4776, allocations: 369.7 kB / 0.6078 GB, free: 7.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.4776, allocations: 11.98 kB / 0.6078 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.4776, allocations: 16.12 kB / 0.6078 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.4777, allocations: 12 kB / 0.6078 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.478, allocations: 107.8 kB / 0.6079 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.478, allocations: 27.86 kB / 0.6079 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.4782, allocations: 19.69 kB / 0.608 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.4783, allocations: 28 kB / 0.608 GB, free: 6.945 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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.0001358/0.4784, allocations: 149.6 kB / 0.6081 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.4785, allocations: 23.66 kB / 0.6082 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.4788, allocations: 144 kB / 0.6083 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.4788, allocations: 7.938 kB / 0.6083 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4788, allocations: 0 / 0.6083 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4788, allocations: 0 / 0.6083 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.4794, allocations: 449.9 kB / 0.6087 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4794, allocations: 0 / 0.6087 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.4795, allocations: 35.91 kB / 0.6088 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.4795, allocations: 0 / 0.6088 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.4796, allocations: 4 kB / 0.6088 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4796, allocations: 4 kB / 0.6088 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4796, allocations: 0 / 0.6088 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.4798, allocations: 217.1 kB / 0.609 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.4799, allocations: 104.8 kB / 0.6091 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.48, allocations: 11.92 kB / 0.6091 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.4802, allocations: 8 kB / 0.6091 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.4802, allocations: 19.89 kB / 0.6091 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.4802, allocations: 15.98 kB / 0.6091 GB, free: 5.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.4804, allocations: 148.5 kB / 0.6093 GB, free: 5.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.4804, allocations: 3.938 kB / 0.6093 GB, free: 5.512 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005012/0.4809, allocations: 91.94 kB / 0.6094 GB, free: 5.422 MB / 446.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.0003187/0.4812, allocations: 151.2 kB / 0.6095 GB, free: 5.262 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.4815, allocations: 185.1 kB / 0.6097 GB, free: 5.082 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4815, allocations: 4 kB / 0.6097 GB, free: 5.078 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.592e-05/0.4816, allocations: 31.92 kB / 0.6097 GB, free: 5.047 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.482, allocations: 54.36 kB / 0.6098 GB, free: 5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008766/0.4829, allocations: 0.5135 MB / 0.6103 GB, free: 4.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.4833, allocations: 0.7361 MB / 0.611 GB, free: 3.684 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.4833, allocations: 31.44 kB / 0.611 GB, free: 3.652 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4833, allocations: 0 / 0.611 GB, free: 3.652 MB / 446.1 MB Notification: Performance of Templates: time 0.00561/0.4889, allocations: 3.259 MB / 0.6142 GB, free: 412 kB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches