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.001884/0.001884, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002268/0.002268, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.1 MB / 344.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 75.88 kB / 482 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3726, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1601/0.5328, allocations: 139 MB / 0.6674 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005649/0.5385, allocations: 4.723 MB / 0.6721 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.5388, allocations: 0 / 0.6721 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.5392, allocations: 63.59 kB / 0.6721 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002235/0.5415, allocations: 0.7306 MB / 0.6728 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.542, allocations: 160.3 kB / 0.673 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006475/0.5426, allocations: 374.1 kB / 0.6733 GB, free: 92 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.439e-05/0.5427, allocations: 13.69 kB / 0.6734 GB, free: 80 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.543, allocations: 159.4 kB / 0.6735 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.5434, allocations: 191.3 kB / 0.6737 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.5435, allocations: 8 kB / 0.6737 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.545, allocations: 0.6981 MB / 0.6744 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.716e-05/0.5451, allocations: 39.83 kB / 0.6744 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.5453, allocations: 115.4 kB / 0.6745 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.5464, allocations: 464.6 kB / 0.675 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5464, allocations: 4 kB / 0.675 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5464, allocations: 0 / 0.675 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.5465, allocations: 0 / 0.675 GB, free: 14.42 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.00126/0.5477, allocations: 0.6008 MB / 0.6756 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.5478, allocations: 8.031 kB / 0.6756 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.548, allocations: 24.75 kB / 0.6756 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.5484, allocations: 232 kB / 0.6758 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.5485, allocations: 119.9 kB / 0.6759 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.5486, allocations: 28.36 kB / 0.676 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.5491, allocations: 322.7 kB / 0.6763 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.5491, allocations: 7.938 kB / 0.6763 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.5491, allocations: 15.98 kB / 0.6763 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.5492, allocations: 11.98 kB / 0.6763 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008078/0.55, allocations: 0.7313 MB / 0.677 GB, free: 12.2 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.001395/0.5514, allocations: 1.226 MB / 0.6782 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004267/0.5518, allocations: 171.8 kB / 0.6784 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.552, allocations: 97.41 kB / 0.6785 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002447/0.5544, allocations: 2.703 MB / 0.6811 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.5545, allocations: 30.56 kB / 0.6811 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.315e-06/0.5545, allocations: 0 / 0.6811 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0007224/0.5552, allocations: 224 kB / 0.6813 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.5553, allocations: 55.41 kB / 0.6814 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.5555, allocations: 220 kB / 0.6816 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.5555, allocations: 29.7 kB / 0.6816 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.5556, allocations: 218.7 kB / 0.6818 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.5557, allocations: 47.36 kB / 0.6819 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.5558, allocations: 82.03 kB / 0.682 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.556, allocations: 330.8 kB / 0.6823 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-05/0.5561, allocations: 44.84 kB / 0.6823 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.5563, allocations: 325.1 kB / 0.6826 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.5568, allocations: 424.3 kB / 0.683 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.5568, allocations: 4 kB / 0.683 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005795/0.5574, allocations: 377.5 kB / 0.6834 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.5574, allocations: 12 kB / 0.6834 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.5574, allocations: 12.12 kB / 0.6834 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.5575, allocations: 15.94 kB / 0.6834 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.5578, allocations: 115.8 kB / 0.6836 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/0.5578, allocations: 15.94 kB / 0.6836 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.5581, allocations: 16 kB / 0.6836 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.5581, allocations: 27.98 kB / 0.6836 GB, free: 4.473 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.0001458/0.5583, allocations: 153.6 kB / 0.6838 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.5583, allocations: 15.81 kB / 0.6838 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.5586, allocations: 151.7 kB / 0.6839 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.5587, allocations: 4 kB / 0.6839 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.5587, allocations: 3.938 kB / 0.6839 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5587, allocations: 3.938 kB / 0.6839 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.5593, allocations: 444.1 kB / 0.6844 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5593, allocations: 0 / 0.6844 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.5594, allocations: 31.97 kB / 0.6844 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5595, allocations: 0 / 0.6844 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5595, allocations: 0 / 0.6844 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.5595, allocations: 4 kB / 0.6844 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5595, allocations: 0 / 0.6844 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.5598, allocations: 232.9 kB / 0.6846 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/0.5599, allocations: 96.91 kB / 0.6847 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.5599, allocations: 7.938 kB / 0.6847 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.5601, allocations: 7.984 kB / 0.6847 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.5601, allocations: 15.92 kB / 0.6847 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.5602, allocations: 8 kB / 0.6847 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001237/0.5603, allocations: 152.5 kB / 0.6849 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5603, allocations: 0 / 0.6849 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005078/0.5608, allocations: 92 kB / 0.685 GB, free: 2.953 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.0002975/0.5611, allocations: 163.2 kB / 0.6851 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.5615, allocations: 177.5 kB / 0.6853 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5615, allocations: 0 / 0.6853 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.305e-05/0.5615, allocations: 35.92 kB / 0.6853 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.562, allocations: 57.19 kB / 0.6854 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009857/0.563, allocations: 0.5354 MB / 0.6859 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.5633, allocations: 0.7284 MB / 0.6866 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.386e-05/0.5634, allocations: 39.36 kB / 0.6867 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of SimCode: time 2.61e-07/0.5634, allocations: 4 kB / 0.6867 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of Templates: time 0.006417/0.5698, allocations: 3.341 MB / 0.6899 GB, free: 13.83 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/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