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.001219/0.001219, allocations: 109 kB / 17.21 MB, free: 6.293 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.001318/0.001318, allocations: 194 kB / 18.12 MB, free: 5.383 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.415/1.415, allocations: 222.9 MB / 241.8 MB, free: 13.67 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.2257/0.2257, allocations: 44.17 MB / 336.1 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 64.62 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1052, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4046/0.5098, allocations: 134 MB / 0.5884 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005388/0.5152, allocations: 4.75 MB / 0.5931 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.5154, allocations: 0 / 0.5931 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.5158, allocations: 47.72 kB / 0.5931 GB, free: 6.445 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.5178, allocations: 0.661 MB / 0.5938 GB, free: 5.781 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.5182, allocations: 153.9 kB / 0.5939 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006145/0.5188, allocations: 450.1 kB / 0.5943 GB, free: 5.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.126e-05/0.5189, allocations: 9.688 kB / 0.5943 GB, free: 5.188 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.5192, allocations: 159.3 kB / 0.5945 GB, free: 5.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.5195, allocations: 191.3 kB / 0.5947 GB, free: 4.844 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.5196, allocations: 8 kB / 0.5947 GB, free: 4.836 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.521, allocations: 0.7135 MB / 0.5954 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.5211, allocations: 51.73 kB / 0.5954 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.5213, allocations: 103.6 kB / 0.5955 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009469/0.5222, allocations: 460.8 kB / 0.596 GB, free: 3.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.5222, allocations: 4 kB / 0.596 GB, free: 3.516 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5222, allocations: 0 / 0.596 GB, free: 3.516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.5223, allocations: 3.938 kB / 0.596 GB, free: 3.512 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.001111/0.5234, allocations: 0.5937 MB / 0.5966 GB, free: 2.871 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.5234, allocations: 12.03 kB / 0.5966 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.5236, allocations: 32.62 kB / 0.5966 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.5239, allocations: 224 kB / 0.5968 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.524, allocations: 123.9 kB / 0.5969 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.5241, allocations: 16.56 kB / 0.5969 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/0.5247, allocations: 338.7 kB / 0.5973 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.5247, allocations: 0 / 0.5973 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.5247, allocations: 8 kB / 0.5973 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.5248, allocations: 7.984 kB / 0.5973 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008628/0.5256, allocations: 0.743 MB / 0.598 GB, free: 1.293 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.001422/0.5271, allocations: 1.23 MB / 0.5992 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.5276, allocations: 167.8 kB / 0.5994 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.5277, allocations: 89.47 kB / 0.5995 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002713/0.5304, allocations: 2.692 MB / 0.6021 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.5305, allocations: 38.5 kB / 0.6021 GB, free: 12.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.374e-06/0.5305, allocations: 4 kB / 0.6021 GB, free: 12.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006961/0.5312, allocations: 215.6 kB / 0.6023 GB, free: 12.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.5313, allocations: 59.34 kB / 0.6024 GB, free: 12.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.5315, allocations: 214.9 kB / 0.6026 GB, free: 11.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.5315, allocations: 29.7 kB / 0.6026 GB, free: 11.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.5316, allocations: 218.7 kB / 0.6028 GB, free: 11.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.5317, allocations: 51.34 kB / 0.6029 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.5318, allocations: 82.03 kB / 0.603 GB, free: 11.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5319, allocations: 330.8 kB / 0.6033 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.87e-05/0.532, allocations: 44.84 kB / 0.6033 GB, free: 11.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.5324, allocations: 332 kB / 0.6036 GB, free: 10.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005582/0.533, allocations: 434 kB / 0.604 GB, free: 10.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.533, allocations: 4 kB / 0.6041 GB, free: 10.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006805/0.5337, allocations: 378.5 kB / 0.6044 GB, free: 9.758 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.5337, allocations: 16.02 kB / 0.6044 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.5337, allocations: 8 kB / 0.6044 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/0.5338, allocations: 16 kB / 0.6045 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.5341, allocations: 107.8 kB / 0.6046 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.117e-05/0.5342, allocations: 23.92 kB / 0.6046 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.5345, allocations: 19.91 kB / 0.6046 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.5345, allocations: 31.56 kB / 0.6046 GB, free: 9.543 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.0001738/0.5347, allocations: 157.6 kB / 0.6048 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.5348, allocations: 19.81 kB / 0.6048 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.5351, allocations: 155.7 kB / 0.6049 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.5352, allocations: 3.938 kB / 0.6049 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.5352, allocations: 4 kB / 0.605 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5352, allocations: 0 / 0.605 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000657/0.5358, allocations: 440.9 kB / 0.6054 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.5359, allocations: 3.984 kB / 0.6054 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.536, allocations: 31.92 kB / 0.6054 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5361, allocations: 0 / 0.6054 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.5361, allocations: 4 kB / 0.6054 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5361, allocations: 0.8438 kB / 0.6054 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5361, allocations: 4 kB / 0.6054 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.5364, allocations: 230.6 kB / 0.6056 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.5365, allocations: 96.91 kB / 0.6057 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.5366, allocations: 11.92 kB / 0.6057 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.5368, allocations: 12 kB / 0.6057 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.5368, allocations: 15.92 kB / 0.6058 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.5369, allocations: 7.984 kB / 0.6058 GB, free: 8.254 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.537, allocations: 144.5 kB / 0.6059 GB, free: 8.113 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.537, allocations: 0 / 0.6059 GB, free: 8.113 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005596/0.5376, allocations: 95.98 kB / 0.606 GB, free: 8.02 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.0005349/0.5381, allocations: 167.6 kB / 0.6062 GB, free: 7.844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003733/0.5385, allocations: 177.9 kB / 0.6063 GB, free: 7.672 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5385, allocations: 4 kB / 0.6063 GB, free: 7.668 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.438e-05/0.5386, allocations: 31.92 kB / 0.6064 GB, free: 7.637 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.5391, allocations: 48.72 kB / 0.6064 GB, free: 7.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009795/0.5401, allocations: 0.5488 MB / 0.6069 GB, free: 7.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.5404, allocations: 0.7287 MB / 0.6077 GB, free: 6.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002718/0.5407, allocations: 58.81 kB / 0.6077 GB, free: 6.191 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.5407, allocations: 27.44 kB / 0.6077 GB, free: 6.164 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5408, allocations: 0 / 0.6077 GB, free: 6.164 MB / 446.1 MB Notification: Performance of Templates: time 0.007859/0.5486, allocations: 3.069 MB / 0.6107 GB, free: 3.133 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/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_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches