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.001674/0.001674, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002504/0.002505, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.9 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.2519/0.2519, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 71.89 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4901, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1702/0.6603, allocations: 139 MB / 0.6668 GB, free: 6.172 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.005147/0.6655, allocations: 4.715 MB / 0.6714 GB, free: 1.438 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.6657, allocations: 4 kB / 0.6714 GB, free: 1.434 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.6662, allocations: 63.59 kB / 0.6714 GB, free: 1.371 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.6682, allocations: 0.7345 MB / 0.6722 GB, free: 0.6328 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.6686, allocations: 153.9 kB / 0.6723 GB, free: 500 kB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0005867/0.6692, allocations: 378 kB / 0.6727 GB, free: 120 kB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.6693, allocations: 17.69 kB / 0.6727 GB, free: 104 kB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.6695, allocations: 159.4 kB / 0.6728 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.6698, allocations: 183.4 kB / 0.673 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.6698, allocations: 8 kB / 0.673 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.6712, allocations: 0.6981 MB / 0.6737 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.692e-05/0.6713, allocations: 47.77 kB / 0.6738 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.6714, allocations: 111.5 kB / 0.6739 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007659/0.6722, allocations: 463.2 kB / 0.6743 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6722, allocations: 0 / 0.6743 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6722, allocations: 0 / 0.6743 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.6722, allocations: 0 / 0.6743 GB, free: 14.45 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.001266/0.6735, allocations: 0.6177 MB / 0.6749 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/0.6736, allocations: 8.031 kB / 0.6749 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.6738, allocations: 32.77 kB / 0.6749 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.6742, allocations: 224.1 kB / 0.6752 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.6744, allocations: 123.9 kB / 0.6753 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.6744, allocations: 24.38 kB / 0.6753 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000562/0.675, allocations: 326.7 kB / 0.6756 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.675, allocations: 4 kB / 0.6756 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.449e-05/0.6751, allocations: 12 kB / 0.6756 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.6751, allocations: 8 kB / 0.6756 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.6759, allocations: 0.7429 MB / 0.6764 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.001491/0.6774, allocations: 1.23 MB / 0.6776 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.6779, allocations: 171.7 kB / 0.6777 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.6781, allocations: 93.42 kB / 0.6778 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002321/0.6804, allocations: 2.703 MB / 0.6805 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.6805, allocations: 38.56 kB / 0.6805 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.6805, allocations: 7.938 kB / 0.6805 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0007093/0.6812, allocations: 224.5 kB / 0.6807 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.6812, allocations: 51.41 kB / 0.6808 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.6815, allocations: 216.1 kB / 0.681 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.6815, allocations: 25.7 kB / 0.681 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.6817, allocations: 227.5 kB / 0.6812 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.6818, allocations: 55.56 kB / 0.6813 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.6819, allocations: 82.03 kB / 0.6813 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.6821, allocations: 330.8 kB / 0.6817 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.6822, allocations: 56.83 kB / 0.6817 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.6825, allocations: 313.2 kB / 0.682 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.6829, allocations: 420.4 kB / 0.6824 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.6829, allocations: 4 kB / 0.6824 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005582/0.6835, allocations: 373.2 kB / 0.6828 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.6835, allocations: 8 kB / 0.6828 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.6835, allocations: 8 kB / 0.6828 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/0.6836, allocations: 19.94 kB / 0.6828 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.6839, allocations: 111.8 kB / 0.6829 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.6839, allocations: 16.53 kB / 0.6829 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.6841, allocations: 24 kB / 0.6829 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.6842, allocations: 27.98 kB / 0.683 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.000126/0.6843, allocations: 153.6 kB / 0.6831 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.6844, allocations: 19.91 kB / 0.6831 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.6847, allocations: 163.7 kB / 0.6833 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.6847, allocations: 0 / 0.6833 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.6847, allocations: 48 / 0.6833 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.6847, allocations: 3.984 kB / 0.6833 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.6852, allocations: 440 kB / 0.6837 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.6853, allocations: 0 / 0.6837 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.6854, allocations: 27.98 kB / 0.6837 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.6854, allocations: 4.062 kB / 0.6837 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.6854, allocations: 8 kB / 0.6838 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.6854, allocations: 7.984 kB / 0.6838 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6854, allocations: 0 / 0.6838 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.6857, allocations: 225 kB / 0.684 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.943e-05/0.6858, allocations: 97 kB / 0.6841 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.6858, allocations: 7.953 kB / 0.6841 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.686, allocations: 15.98 kB / 0.6841 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.6861, allocations: 7.984 kB / 0.6841 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.6861, allocations: 8 kB / 0.6841 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001243/0.6862, allocations: 152.4 kB / 0.6843 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6862, allocations: 4 kB / 0.6843 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004839/0.6867, allocations: 95.88 kB / 0.6843 GB, free: 2.938 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.0002774/0.687, allocations: 151.1 kB / 0.6845 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.6873, allocations: 185.4 kB / 0.6847 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6873, allocations: 4.688 kB / 0.6847 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.737e-05/0.6874, allocations: 36.05 kB / 0.6847 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.6878, allocations: 56.5 kB / 0.6848 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.6888, allocations: 0.51 MB / 0.6853 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.6891, allocations: 0.7245 MB / 0.686 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00019/0.6893, allocations: 58.91 kB / 0.686 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.6893, allocations: 27.44 kB / 0.6861 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of SimCode: time 1.813e-06/0.6893, allocations: 4 kB / 0.6861 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of Templates: time 0.006315/0.6957, allocations: 3.245 MB / 0.6892 GB, free: 13.91 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