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.001123/0.001123, allocations: 113.7 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.00118/0.00118, allocations: 206.7 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.322/1.322, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 75.88 kB / 482 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2904, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1456/0.4361, allocations: 139 MB / 0.6674 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00507/0.4412, allocations: 4.719 MB / 0.672 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.4414, allocations: 0 / 0.672 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.4418, allocations: 71.58 kB / 0.6721 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.4437, allocations: 0.7305 MB / 0.6728 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.4442, allocations: 160.6 kB / 0.673 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005785/0.4448, allocations: 370.1 kB / 0.6733 GB, free: 112 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.808e-05/0.4448, allocations: 17.67 kB / 0.6734 GB, free: 96 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.4451, allocations: 163.5 kB / 0.6735 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.4454, allocations: 183.4 kB / 0.6737 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.919e-05/0.4455, allocations: 8 kB / 0.6737 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.4469, allocations: 0.7019 MB / 0.6744 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.424e-05/0.447, allocations: 43.83 kB / 0.6744 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.4471, allocations: 103.5 kB / 0.6745 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009669/0.4481, allocations: 472.5 kB / 0.675 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4481, allocations: 8 kB / 0.675 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4481, allocations: 0 / 0.675 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4482, allocations: 0 / 0.675 GB, free: 14.43 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.001159/0.4493, allocations: 0.5991 MB / 0.6756 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.4494, allocations: 11.97 kB / 0.6756 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.4495, allocations: 28.73 kB / 0.6756 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.4499, allocations: 228 kB / 0.6758 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.4501, allocations: 123.9 kB / 0.6759 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.4501, allocations: 24.38 kB / 0.676 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.4506, allocations: 322.7 kB / 0.6763 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4507, allocations: 4 kB / 0.6763 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.4507, allocations: 12 kB / 0.6763 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.4507, allocations: 11.94 kB / 0.6763 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007875/0.4515, allocations: 0.7391 MB / 0.677 GB, free: 12.21 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.00149/0.453, allocations: 1.226 MB / 0.6782 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.4535, allocations: 167.8 kB / 0.6784 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.4536, allocations: 97.42 kB / 0.6785 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002323/0.4559, allocations: 2.699 MB / 0.6811 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.456, allocations: 34.56 kB / 0.6811 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.456, allocations: 0 / 0.6811 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006729/0.4567, allocations: 224 kB / 0.6813 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.4567, allocations: 59.34 kB / 0.6814 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.4569, allocations: 220 kB / 0.6816 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.4569, allocations: 25.7 kB / 0.6816 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.4571, allocations: 218.7 kB / 0.6818 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.992e-05/0.4572, allocations: 55.34 kB / 0.6819 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.939e-05/0.4573, allocations: 78.03 kB / 0.682 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4574, allocations: 326.8 kB / 0.6823 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/0.4575, allocations: 52.83 kB / 0.6823 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.4577, allocations: 317.2 kB / 0.6826 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.4582, allocations: 420.4 kB / 0.683 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4582, allocations: 4 kB / 0.683 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005603/0.4588, allocations: 377.5 kB / 0.6834 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.4588, allocations: 12 kB / 0.6834 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.4588, allocations: 12 kB / 0.6834 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.4588, allocations: 20 kB / 0.6834 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.4592, allocations: 111.8 kB / 0.6836 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.4592, allocations: 15.94 kB / 0.6836 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.4594, allocations: 16 kB / 0.6836 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.4595, allocations: 28 kB / 0.6836 GB, free: 4.492 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.0001451/0.4596, allocations: 153.6 kB / 0.6838 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.4597, allocations: 15.81 kB / 0.6838 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.46, allocations: 163.7 kB / 0.6839 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4601, allocations: 4 kB / 0.6839 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4601, allocations: 0 / 0.6839 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4601, allocations: 0 / 0.6839 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.4606, allocations: 440 kB / 0.6843 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4606, allocations: 0 / 0.6843 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.4608, allocations: 27.98 kB / 0.6844 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4608, allocations: 0 / 0.6844 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.4608, allocations: 11.97 kB / 0.6844 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4608, allocations: 7.938 kB / 0.6844 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4609, allocations: 0 / 0.6844 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.4611, allocations: 221 kB / 0.6846 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.96e-05/0.4612, allocations: 104.9 kB / 0.6847 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.4612, allocations: 3.938 kB / 0.6847 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.4615, allocations: 11.98 kB / 0.6847 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.4615, allocations: 7.984 kB / 0.6847 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.4615, allocations: 11.94 kB / 0.6847 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001246/0.4616, allocations: 152.5 kB / 0.6849 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4617, allocations: 7.938 kB / 0.6849 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004933/0.4622, allocations: 88 kB / 0.685 GB, free: 2.965 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.0002896/0.4625, allocations: 163.2 kB / 0.6851 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.4628, allocations: 185.7 kB / 0.6853 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4628, allocations: 0 / 0.6853 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.634e-05/0.4629, allocations: 35.92 kB / 0.6853 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.4633, allocations: 48.34 kB / 0.6854 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009466/0.4643, allocations: 0.532 MB / 0.6859 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.4646, allocations: 0.7284 MB / 0.6866 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.858e-05/0.4647, allocations: 27.44 kB / 0.6866 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of SimCode: time 2.605e-06/0.4647, allocations: 4 kB / 0.6867 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.006059/0.4708, allocations: 3.348 MB / 0.6899 GB, free: 13.85 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