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.001079/0.001079, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3015/0.3015, allocations: 46.12 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 75.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4434, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1739/0.6174, allocations: 139 MB / 0.6668 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006371/0.6238, allocations: 4.715 MB / 0.6714 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.6241, allocations: 4 kB / 0.6714 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004217/0.6245, allocations: 67.58 kB / 0.6715 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.6268, allocations: 0.7345 MB / 0.6722 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.6272, allocations: 153 kB / 0.6723 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005335/0.6278, allocations: 374.1 kB / 0.6727 GB, free: 148 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.6278, allocations: 17.69 kB / 0.6727 GB, free: 132 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.6281, allocations: 155.5 kB / 0.6728 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.6284, allocations: 191.3 kB / 0.673 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.6284, allocations: 8 kB / 0.673 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.6297, allocations: 0.6942 MB / 0.6737 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.291e-05/0.6298, allocations: 47.81 kB / 0.6738 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.6299, allocations: 111.5 kB / 0.6739 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006801/0.6306, allocations: 464.6 kB / 0.6743 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6306, allocations: 0 / 0.6743 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6307, allocations: 0 / 0.6743 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.6307, allocations: 0 / 0.6743 GB, free: 14.48 MB / 0.5294 GB 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.001145/0.6318, allocations: 0.6008 MB / 0.6749 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.6319, allocations: 8.031 kB / 0.6749 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.632, allocations: 24.75 kB / 0.6749 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.6324, allocations: 232 kB / 0.6751 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.6325, allocations: 127.9 kB / 0.6753 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.6326, allocations: 24.38 kB / 0.6753 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.6331, allocations: 326.7 kB / 0.6756 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.6331, allocations: 7.875 kB / 0.6756 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.6332, allocations: 12 kB / 0.6756 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.6332, allocations: 8 kB / 0.6756 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.634, allocations: 0.7391 MB / 0.6763 GB, free: 12.25 MB / 0.5294 GB 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.001335/0.6354, allocations: 1.226 MB / 0.6775 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.6357, allocations: 179.7 kB / 0.6777 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.6359, allocations: 89.42 kB / 0.6778 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002594/0.6385, allocations: 2.695 MB / 0.6804 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.6385, allocations: 38.56 kB / 0.6805 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.6386, allocations: 0 / 0.6805 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006863/0.6392, allocations: 220.3 kB / 0.6807 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.6393, allocations: 59.41 kB / 0.6807 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.6395, allocations: 216 kB / 0.6809 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.6395, allocations: 25.7 kB / 0.681 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.6397, allocations: 218.7 kB / 0.6812 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.6397, allocations: 55.33 kB / 0.6812 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-05/0.6398, allocations: 82.03 kB / 0.6813 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.6399, allocations: 326.8 kB / 0.6816 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.64, allocations: 52.84 kB / 0.6817 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.6403, allocations: 317.1 kB / 0.682 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.6407, allocations: 428.3 kB / 0.6824 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6407, allocations: 0 / 0.6824 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005356/0.6413, allocations: 381.4 kB / 0.6827 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.6413, allocations: 8 kB / 0.6827 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.6413, allocations: 8 kB / 0.6828 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.6413, allocations: 19.94 kB / 0.6828 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.6417, allocations: 111.8 kB / 0.6829 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.6418, allocations: 19.92 kB / 0.6829 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.642, allocations: 16 kB / 0.6829 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.642, allocations: 24.31 kB / 0.6829 GB, free: 4.531 MB / 0.5294 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.6421, allocations: 157.6 kB / 0.6831 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.6423, allocations: 23.8 kB / 0.6831 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.6426, allocations: 147.7 kB / 0.6833 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.6426, allocations: 4 kB / 0.6833 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6426, allocations: 3.938 kB / 0.6833 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.6426, allocations: 3.984 kB / 0.6833 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005292/0.6431, allocations: 440 kB / 0.6837 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6431, allocations: 0 / 0.6837 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.6433, allocations: 31.98 kB / 0.6837 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.6433, allocations: 0 / 0.6837 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.6433, allocations: 4 kB / 0.6837 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6433, allocations: 4.062 kB / 0.6837 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6434, allocations: 0 / 0.6837 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.6436, allocations: 236.8 kB / 0.6839 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-05/0.6437, allocations: 96.91 kB / 0.684 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.6437, allocations: 7.938 kB / 0.684 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.6439, allocations: 15.98 kB / 0.6841 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.644, allocations: 7.938 kB / 0.6841 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.644, allocations: 11.98 kB / 0.6841 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001194/0.6441, allocations: 148.5 kB / 0.6842 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6441, allocations: 4 kB / 0.6842 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000466/0.6446, allocations: 92 kB / 0.6843 GB, free: 2.996 MB / 0.5294 GB 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.0003054/0.6449, allocations: 159.2 kB / 0.6845 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.6452, allocations: 173.9 kB / 0.6846 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6452, allocations: 0 / 0.6846 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.313e-05/0.6453, allocations: 35.92 kB / 0.6847 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.6457, allocations: 56.81 kB / 0.6847 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009248/0.6467, allocations: 0.5064 MB / 0.6852 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.647, allocations: 0.7323 MB / 0.6859 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001877/0.6472, allocations: 58.84 kB / 0.686 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.6472, allocations: 27.44 kB / 0.686 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.6472, allocations: 0 / 0.686 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of Templates: time 0.00684/0.6541, allocations: 3.274 MB / 0.6892 GB, free: 13.95 MB / 0.545 GB 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