Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001028/0.001028, allocations: 97.02 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 177.2 kB / 16.92 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.4 MB / 223.1 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4324/0.4324, allocations: 43.57 MB / 315 MB, free: 8.816 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005863/0.0005864, allocations: 16 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1532, allocations: 58.86 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4572/0.6104, allocations: 132.3 MB / 0.5622 GB, free: 6.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006379/0.6169, allocations: 4.682 MB / 0.5668 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.6171, allocations: 0 / 0.5668 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.6176, allocations: 55.72 kB / 0.5669 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.6195, allocations: 0.6609 MB / 0.5675 GB, free: 1.191 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.6199, allocations: 156.7 kB / 0.5677 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006146/0.6206, allocations: 442 kB / 0.5681 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.443e-05/0.6206, allocations: 13.67 kB / 0.5681 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.6209, allocations: 155.4 kB / 0.5682 GB, free: 456 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.6212, allocations: 183.4 kB / 0.5684 GB, free: 272 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.6212, allocations: 15.98 kB / 0.5684 GB, free: 256 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.6227, allocations: 0.7135 MB / 0.5691 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.76e-05/0.6228, allocations: 43.77 kB / 0.5692 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.6229, allocations: 137.2 kB / 0.5693 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007734/0.6237, allocations: 460.9 kB / 0.5697 GB, free: 14.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6237, allocations: 0 / 0.5697 GB, free: 14.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6238, allocations: 0 / 0.5697 GB, free: 14.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.6238, allocations: 0 / 0.5697 GB, free: 14.9 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.001049/0.6248, allocations: 0.5459 MB / 0.5703 GB, free: 14.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.6249, allocations: 12.03 kB / 0.5703 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.625, allocations: 32.66 kB / 0.5703 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.6253, allocations: 220.1 kB / 0.5705 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.6254, allocations: 127.9 kB / 0.5706 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.6255, allocations: 20.56 kB / 0.5707 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.626, allocations: 330.7 kB / 0.571 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.626, allocations: 0 / 0.571 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.626, allocations: 8 kB / 0.571 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.626, allocations: 8 kB / 0.571 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007391/0.6268, allocations: 0.7468 MB / 0.5717 GB, free: 12.74 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.001331/0.6281, allocations: 1.226 MB / 0.5729 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.6285, allocations: 172.3 kB / 0.5731 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.6287, allocations: 93.41 kB / 0.5732 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002433/0.6311, allocations: 2.696 MB / 0.5758 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.6312, allocations: 38.55 kB / 0.5758 GB, free: 7.875 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/0.6312, allocations: 0 / 0.5758 GB, free: 7.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007044/0.6319, allocations: 220.7 kB / 0.5761 GB, free: 7.656 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.632, allocations: 59.28 kB / 0.5761 GB, free: 7.586 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.6322, allocations: 214.9 kB / 0.5763 GB, free: 7.367 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.6322, allocations: 33.7 kB / 0.5763 GB, free: 7.328 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.6324, allocations: 214.8 kB / 0.5766 GB, free: 7.113 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.6324, allocations: 47.36 kB / 0.5766 GB, free: 7.066 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.6325, allocations: 37.7 kB / 0.5766 GB, free: 7.023 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.6326, allocations: 330.8 kB / 0.5769 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.411e-05/0.6327, allocations: 48.84 kB / 0.577 GB, free: 6.645 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.633, allocations: 328 kB / 0.5773 GB, free: 6.188 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.6335, allocations: 442 kB / 0.5777 GB, free: 5.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.6335, allocations: 4 kB / 0.5777 GB, free: 5.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000519/0.634, allocations: 373.2 kB / 0.5781 GB, free: 5.242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.6341, allocations: 8 kB / 0.5781 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.6341, allocations: 12 kB / 0.5781 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.6341, allocations: 12.5 kB / 0.5781 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.6344, allocations: 112.4 kB / 0.5782 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.6345, allocations: 19.94 kB / 0.5782 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.6347, allocations: 31.84 kB / 0.5783 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.6348, allocations: 29.03 kB / 0.5783 GB, free: 5.023 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.000141/0.6349, allocations: 149.6 kB / 0.5784 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.6349, allocations: 19.81 kB / 0.5785 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.6353, allocations: 151.8 kB / 0.5786 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.6353, allocations: 3.938 kB / 0.5786 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6353, allocations: 0 / 0.5786 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6353, allocations: 1.25 kB / 0.5786 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.6358, allocations: 451.9 kB / 0.579 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6358, allocations: 4.062 kB / 0.5791 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.636, allocations: 27.98 kB / 0.5791 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.636, allocations: 0 / 0.5791 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.636, allocations: 11.98 kB / 0.5791 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.636, allocations: 0 / 0.5791 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.636, allocations: 0 / 0.5791 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.6362, allocations: 224.8 kB / 0.5793 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.059e-05/0.6363, allocations: 108 kB / 0.5794 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.6364, allocations: 4 kB / 0.5794 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.6366, allocations: 8 kB / 0.5794 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.6366, allocations: 11.98 kB / 0.5794 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.6366, allocations: 7.984 kB / 0.5794 GB, free: 3.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.6368, allocations: 148.5 kB / 0.5796 GB, free: 3.605 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6368, allocations: 0 / 0.5796 GB, free: 3.605 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004932/0.6373, allocations: 95.98 kB / 0.5797 GB, free: 3.512 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.000359/0.6376, allocations: 172.8 kB / 0.5798 GB, free: 3.336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000305/0.6379, allocations: 178.1 kB / 0.58 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.638, allocations: 0 / 0.58 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.403e-05/0.638, allocations: 39.91 kB / 0.58 GB, free: 3.125 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.6385, allocations: 55.3 kB / 0.5801 GB, free: 3.074 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00092/0.6394, allocations: 0.6012 MB / 0.5807 GB, free: 2.449 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.6397, allocations: 0.7209 MB / 0.5814 GB, free: 1.703 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002549/0.64, allocations: 58.83 kB / 0.5814 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.6401, allocations: 31.42 kB / 0.5815 GB, free: 1.613 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6401, allocations: 4 kB / 0.5815 GB, free: 1.609 MB / 446.1 MB Notification: Performance of Templates: time 0.007079/0.6472, allocations: 3.035 MB / 0.5844 GB, free: 14.61 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches