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.001656/0.001656, allocations: 120.5 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 215.8 kB / 19.41 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.13 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 75.88 kB / 482.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2948, allocations: 62.44 MB / 0.5318 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1674/0.4622, allocations: 139.4 MB / 0.6679 GB, free: 5.711 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.005518/0.4677, allocations: 4.734 MB / 0.6725 GB, free: 0.957 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.866e-05/0.4678, allocations: 0 / 0.6725 GB, free: 0.957 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.4682, allocations: 67.59 kB / 0.6726 GB, free: 0.8906 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.4698, allocations: 0.7306 MB / 0.6733 GB, free: 160 kB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.4702, allocations: 158.2 kB / 0.6734 GB, free: 8 kB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0005281/0.4707, allocations: 370.1 kB / 0.6738 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.4708, allocations: 13.69 kB / 0.6738 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.471, allocations: 167.4 kB / 0.674 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.4713, allocations: 179.5 kB / 0.6741 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.4713, allocations: 8 kB / 0.6741 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.4726, allocations: 0.7058 MB / 0.6748 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.089e-05/0.4727, allocations: 47.81 kB / 0.6749 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.4728, allocations: 107.5 kB / 0.675 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007458/0.4736, allocations: 483.1 kB / 0.6754 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4736, allocations: 4 kB / 0.6754 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4736, allocations: 0 / 0.6754 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.4736, allocations: 0 / 0.6754 GB, free: 13.95 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.001154/0.4747, allocations: 0.6138 MB / 0.676 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4748, allocations: 8.031 kB / 0.6761 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.4749, allocations: 28.83 kB / 0.6761 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.4753, allocations: 224.1 kB / 0.6763 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.4754, allocations: 127.9 kB / 0.6764 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.4754, allocations: 24.38 kB / 0.6764 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.476, allocations: 334.6 kB / 0.6768 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.476, allocations: 0 / 0.6768 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.476, allocations: 12 kB / 0.6768 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.476, allocations: 8 kB / 0.6768 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000868/0.4769, allocations: 0.739 MB / 0.6775 GB, free: 11.71 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.001417/0.4783, allocations: 1.222 MB / 0.6787 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.4787, allocations: 169.9 kB / 0.6789 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.4789, allocations: 81.42 kB / 0.6789 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002569/0.4814, allocations: 2.711 MB / 0.6816 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.4815, allocations: 38.5 kB / 0.6816 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.4815, allocations: 0 / 0.6816 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006564/0.4821, allocations: 228.3 kB / 0.6818 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.4822, allocations: 51.41 kB / 0.6819 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.4824, allocations: 216.1 kB / 0.6821 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.4824, allocations: 29.7 kB / 0.6821 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.4826, allocations: 215.5 kB / 0.6823 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.4826, allocations: 59.56 kB / 0.6824 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.4827, allocations: 86.03 kB / 0.6825 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4828, allocations: 326.8 kB / 0.6828 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.645e-05/0.4829, allocations: 52.84 kB / 0.6828 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.4832, allocations: 317.2 kB / 0.6831 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/0.4837, allocations: 424.3 kB / 0.6835 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.4837, allocations: 4 kB / 0.6835 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006063/0.4843, allocations: 385.3 kB / 0.6839 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4843, allocations: 8 kB / 0.6839 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.4843, allocations: 12 kB / 0.6839 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.4844, allocations: 15.94 kB / 0.6839 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.4847, allocations: 103.8 kB / 0.684 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.4847, allocations: 23.92 kB / 0.6841 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.485, allocations: 16.44 kB / 0.6841 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.485, allocations: 32 kB / 0.6841 GB, free: 3.988 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.0001457/0.4851, allocations: 145.6 kB / 0.6842 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.4852, allocations: 23.89 kB / 0.6843 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.4855, allocations: 159.7 kB / 0.6844 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.4855, allocations: 7.938 kB / 0.6844 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4855, allocations: 0 / 0.6844 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4855, allocations: 3.984 kB / 0.6844 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005978/0.4861, allocations: 432.1 kB / 0.6848 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4861, allocations: 4 kB / 0.6848 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.4863, allocations: 27.92 kB / 0.6849 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.4863, allocations: 4 kB / 0.6849 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.4863, allocations: 8.062 kB / 0.6849 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4863, allocations: 0 / 0.6849 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4863, allocations: 4 kB / 0.6849 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.4865, allocations: 217 kB / 0.6851 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.4867, allocations: 101 kB / 0.6852 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.4867, allocations: 7.953 kB / 0.6852 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.4869, allocations: 19.92 kB / 0.6852 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.4869, allocations: 11.94 kB / 0.6852 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.4869, allocations: 11.98 kB / 0.6852 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001373/0.4871, allocations: 152.5 kB / 0.6854 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4871, allocations: 0 / 0.6854 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004932/0.4876, allocations: 91.88 kB / 0.6855 GB, free: 2.461 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.0002732/0.4878, allocations: 155.2 kB / 0.6856 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.4882, allocations: 174 kB / 0.6858 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4882, allocations: 4 kB / 0.6858 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.306e-05/0.4883, allocations: 39.86 kB / 0.6858 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.4887, allocations: 48.59 kB / 0.6859 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009943/0.4897, allocations: 0.51 MB / 0.6864 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.4901, allocations: 0.7284 MB / 0.6871 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002005/0.4903, allocations: 54.92 kB / 0.6871 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.4903, allocations: 31.42 kB / 0.6872 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.4903, allocations: 4 kB / 0.6872 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of Templates: time 0.007401/0.4977, allocations: 3.261 MB / 0.6904 GB, free: 13.43 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 -s gbode -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/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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches