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.0009194/0.0009196, allocations: 101.5 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008471/0.0008472, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.243/0.243, allocations: 46.19 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002948, allocations: 11.98 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 63.56 MB / 482.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4465/0.5869, allocations: 126.1 MB / 0.5942 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005813/0.5928, allocations: 4.359 MB / 0.5985 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.593, allocations: 0 / 0.5985 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.5935, allocations: 51.7 kB / 0.5985 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.5954, allocations: 0.5946 MB / 0.5991 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.5958, allocations: 150.4 kB / 0.5993 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.5964, allocations: 394 kB / 0.5996 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.83e-05/0.5965, allocations: 17.66 kB / 0.5997 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.5967, allocations: 159.4 kB / 0.5998 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.597, allocations: 187.4 kB / 0.6 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.5971, allocations: 4 kB / 0.6 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.5983, allocations: 0.6082 MB / 0.6006 GB, free: 0 / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.5984, allocations: 43.81 kB / 0.6006 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.5985, allocations: 65.64 kB / 0.6007 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.5989, allocations: 297.3 kB / 0.601 GB, free: 15.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.599, allocations: 0 / 0.601 GB, free: 15.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.509e-06/0.599, allocations: 4 kB / 0.601 GB, free: 15.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.599, allocations: 0 / 0.601 GB, free: 15.59 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.001159/0.6001, allocations: 0.546 MB / 0.6015 GB, free: 15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.6002, allocations: 8.031 kB / 0.6015 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.6003, allocations: 32.36 kB / 0.6015 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.6007, allocations: 230.6 kB / 0.6018 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.6008, allocations: 120.2 kB / 0.6019 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.6009, allocations: 28 kB / 0.6019 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005467/0.6014, allocations: 318.8 kB / 0.6022 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6014, allocations: 0 / 0.6022 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.6015, allocations: 15.98 kB / 0.6022 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.714e-05/0.6015, allocations: 4 kB / 0.6022 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008034/0.6023, allocations: 0.743 MB / 0.603 GB, free: 13.43 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.001361/0.6037, allocations: 1.222 MB / 0.6041 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.6041, allocations: 171.7 kB / 0.6043 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.6043, allocations: 83.11 kB / 0.6044 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002575/0.6069, allocations: 2.711 MB / 0.607 GB, free: 8.605 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.6069, allocations: 38.56 kB / 0.6071 GB, free: 8.559 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.6069, allocations: 0 / 0.6071 GB, free: 8.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007082/0.6076, allocations: 212.8 kB / 0.6073 GB, free: 8.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.6077, allocations: 55.39 kB / 0.6073 GB, free: 8.277 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.6079, allocations: 216 kB / 0.6075 GB, free: 8.059 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.6079, allocations: 29.7 kB / 0.6076 GB, free: 8.023 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.6081, allocations: 214.8 kB / 0.6078 GB, free: 7.805 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.6082, allocations: 51.34 kB / 0.6078 GB, free: 7.754 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/0.6082, allocations: 8 kB / 0.6078 GB, free: 7.746 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6083, allocations: 330.8 kB / 0.6081 GB, free: 7.414 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-05/0.6084, allocations: 48.78 kB / 0.6082 GB, free: 7.367 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.6088, allocations: 317.2 kB / 0.6085 GB, free: 6.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.6089, allocations: 99.86 kB / 0.6086 GB, free: 6.832 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.609, allocations: 4 kB / 0.6086 GB, free: 6.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005473/0.6095, allocations: 369.4 kB / 0.6089 GB, free: 6.461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.6095, allocations: 12 kB / 0.609 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.6096, allocations: 8 kB / 0.609 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.6096, allocations: 19.89 kB / 0.609 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.6099, allocations: 111.8 kB / 0.6091 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.61, allocations: 19.88 kB / 0.6091 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.6102, allocations: 27.92 kB / 0.6091 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.6102, allocations: 36.27 kB / 0.6092 GB, free: 6.23 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.6104, allocations: 145.6 kB / 0.6093 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.6104, allocations: 19.81 kB / 0.6093 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.6107, allocations: 151.8 kB / 0.6095 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.6108, allocations: 4.828 kB / 0.6095 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.6108, allocations: 4 kB / 0.6095 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6108, allocations: 0 / 0.6095 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005448/0.6113, allocations: 440 kB / 0.6099 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6113, allocations: 48 / 0.6099 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.6115, allocations: 35.95 kB / 0.6099 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.6115, allocations: 12.02 kB / 0.6099 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.6115, allocations: 8 kB / 0.61 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6115, allocations: 0 / 0.61 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6116, allocations: 0 / 0.61 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.6118, allocations: 224.8 kB / 0.6102 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.6119, allocations: 104.9 kB / 0.6103 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.6119, allocations: 11.95 kB / 0.6103 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.6121, allocations: 11.98 kB / 0.6103 GB, free: 4.965 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.6122, allocations: 8 kB / 0.6103 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.6122, allocations: 11.92 kB / 0.6103 GB, free: 4.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.6123, allocations: 148.5 kB / 0.6105 GB, free: 4.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6123, allocations: 0 / 0.6105 GB, free: 4.797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004898/0.6128, allocations: 96 kB / 0.6105 GB, free: 4.703 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002608/0.6131, allocations: 147.6 kB / 0.6107 GB, free: 4.551 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003184/0.6134, allocations: 172.1 kB / 0.6108 GB, free: 4.383 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6134, allocations: 2 kB / 0.6108 GB, free: 4.383 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/0.6135, allocations: 33.23 kB / 0.6109 GB, free: 4.352 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.614, allocations: 47.34 kB / 0.6109 GB, free: 4.309 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.615, allocations: 0.6145 MB / 0.6115 GB, free: 3.652 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.6154, allocations: 0.7287 MB / 0.6122 GB, free: 2.895 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002553/0.6157, allocations: 58.89 kB / 0.6123 GB, free: 2.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.6158, allocations: 31.44 kB / 0.6123 GB, free: 2.809 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6158, allocations: 0 / 0.6123 GB, free: 2.809 MB / 446.1 MB Notification: Performance of Templates: time 0.006846/0.6226, allocations: 2.948 MB / 0.6152 GB, free: 15.89 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