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.001212/0.001212, allocations: 110 kB / 17.86 MB, free: 5.504 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.001373/0.001373, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.388/1.388, allocations: 222.9 MB / 242.5 MB, free: 15.34 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.216/0.216, allocations: 44.17 MB / 336.8 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002537/0.002537, allocations: 59.17 kB / 408.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1815, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4172/0.5988, allocations: 134 MB / 0.5891 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005451/0.6043, allocations: 4.75 MB / 0.5937 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.6044, allocations: 0 / 0.5937 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.6048, allocations: 51.7 kB / 0.5938 GB, free: 6.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.6068, allocations: 0.6609 MB / 0.5944 GB, free: 5.906 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.6072, allocations: 151.8 kB / 0.5945 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006175/0.6079, allocations: 446.1 kB / 0.595 GB, free: 5.324 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.761e-05/0.6079, allocations: 9.688 kB / 0.595 GB, free: 5.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.6083, allocations: 155.3 kB / 0.5951 GB, free: 5.164 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.6087, allocations: 195.4 kB / 0.5953 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.6088, allocations: 8 kB / 0.5953 GB, free: 4.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.6109, allocations: 0.7096 MB / 0.596 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.611, allocations: 51.75 kB / 0.5961 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.6113, allocations: 111.4 kB / 0.5962 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008027/0.6121, allocations: 325.4 kB / 0.5965 GB, free: 3.777 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6121, allocations: 0 / 0.5965 GB, free: 3.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.6121, allocations: 0 / 0.5965 GB, free: 3.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.6121, allocations: 0 / 0.5965 GB, free: 3.777 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.001669/0.6138, allocations: 0.5937 MB / 0.5971 GB, free: 3.137 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.6139, allocations: 12.03 kB / 0.5971 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.6142, allocations: 24.75 kB / 0.5971 GB, free: 3.102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.6145, allocations: 224 kB / 0.5973 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.6148, allocations: 127.9 kB / 0.5974 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.6148, allocations: 20.56 kB / 0.5975 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008204/0.6156, allocations: 334.7 kB / 0.5978 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.6157, allocations: 0 / 0.5978 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.6157, allocations: 8 kB / 0.5978 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.6158, allocations: 8 kB / 0.5978 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.6171, allocations: 0.7429 MB / 0.5985 GB, free: 1.562 MB / 430.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.001964/0.619, allocations: 1.222 MB / 0.5997 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.6196, allocations: 168.7 kB / 0.5999 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.6199, allocations: 93.47 kB / 0.6 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00333/0.6232, allocations: 2.699 MB / 0.6026 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.6233, allocations: 34.55 kB / 0.6026 GB, free: 12.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.855e-06/0.6233, allocations: 0 / 0.6026 GB, free: 12.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009828/0.6243, allocations: 214.8 kB / 0.6028 GB, free: 12.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.6244, allocations: 59.34 kB / 0.6029 GB, free: 12.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.6246, allocations: 219 kB / 0.6031 GB, free: 12.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.6246, allocations: 29.7 kB / 0.6031 GB, free: 12.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.6248, allocations: 218.7 kB / 0.6033 GB, free: 11.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.6249, allocations: 47.36 kB / 0.6034 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.6251, allocations: 82.03 kB / 0.6035 GB, free: 11.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6252, allocations: 326.8 kB / 0.6038 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.6253, allocations: 52.83 kB / 0.6038 GB, free: 11.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.6257, allocations: 332 kB / 0.6041 GB, free: 10.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005415/0.6262, allocations: 430 kB / 0.6045 GB, free: 10.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.6263, allocations: 4 kB / 0.6045 GB, free: 10.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006329/0.6269, allocations: 383.2 kB / 0.6049 GB, free: 10.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.6269, allocations: 12 kB / 0.6049 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.6269, allocations: 9.812 kB / 0.6049 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.627, allocations: 16.75 kB / 0.605 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.6273, allocations: 111.8 kB / 0.6051 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/0.6273, allocations: 23.92 kB / 0.6051 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.6276, allocations: 19.91 kB / 0.6051 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.6276, allocations: 28 kB / 0.6051 GB, free: 9.812 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.0001346/0.6278, allocations: 161.5 kB / 0.6053 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.6278, allocations: 23.8 kB / 0.6053 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.6281, allocations: 143.9 kB / 0.6054 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.6282, allocations: 11.92 kB / 0.6055 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6282, allocations: 0 / 0.6055 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6282, allocations: 0 / 0.6055 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007509/0.6289, allocations: 440.1 kB / 0.6059 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.629, allocations: 4 kB / 0.6059 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.6292, allocations: 27.92 kB / 0.6059 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.6292, allocations: 4 kB / 0.6059 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.6293, allocations: 3.375 kB / 0.6059 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.6293, allocations: 0 / 0.6059 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6293, allocations: 7.938 kB / 0.6059 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.6297, allocations: 232.6 kB / 0.6061 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.6298, allocations: 96.91 kB / 0.6062 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.6299, allocations: 11.94 kB / 0.6062 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.6302, allocations: 7.984 kB / 0.6062 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.6303, allocations: 4 kB / 0.6063 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.6303, allocations: 15.98 kB / 0.6063 GB, free: 8.531 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.6305, allocations: 148.5 kB / 0.6064 GB, free: 8.387 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6305, allocations: 4 kB / 0.6064 GB, free: 8.383 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008681/0.6314, allocations: 92 kB / 0.6065 GB, free: 8.293 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.0004527/0.6319, allocations: 159.7 kB / 0.6067 GB, free: 8.125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000437/0.6323, allocations: 181.6 kB / 0.6068 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6323, allocations: 0 / 0.6068 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.034e-05/0.6324, allocations: 38.11 kB / 0.6069 GB, free: 7.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/0.6332, allocations: 57.02 kB / 0.6069 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.6345, allocations: 0.5773 MB / 0.6075 GB, free: 7.242 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.6348, allocations: 0.7209 MB / 0.6082 GB, free: 6.492 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.6349, allocations: 39.42 kB / 0.6082 GB, free: 6.453 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.635, allocations: 4 kB / 0.6082 GB, free: 6.449 MB / 446.1 MB Notification: Performance of Templates: time 0.008131/0.6431, allocations: 3.243 MB / 0.6114 GB, free: 3.223 MB / 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