Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.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.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, 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.001415/0.001416, 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.453/1.453, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2536/0.2536, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 75.88 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.4313, allocations: 62.43 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1987/0.6301, allocations: 152.6 MB / 0.68 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00292/0.633, allocations: 2.192 MB / 0.6821 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.6332, allocations: 0 / 0.6821 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.6336, allocations: 63.72 kB / 0.6822 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.6354, allocations: 0.6221 MB / 0.6828 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.6357, allocations: 107.7 kB / 0.6829 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.6361, allocations: 255.1 kB / 0.6831 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.686e-05/0.6363, allocations: 11.98 kB / 0.6831 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.6366, allocations: 155.1 kB / 0.6833 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.6368, allocations: 83.78 kB / 0.6834 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.6368, allocations: 8 kB / 0.6834 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.6384, allocations: 0.8612 MB / 0.6842 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.6386, allocations: 83.77 kB / 0.6843 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.6387, allocations: 91.64 kB / 0.6844 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009117/0.6396, allocations: 0.6567 MB / 0.685 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6396, allocations: 0 / 0.685 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.845e-06/0.6396, allocations: 0 / 0.685 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.6396, allocations: 0 / 0.685 GB, free: 3.547 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001045/0.6407, allocations: 0.5109 MB / 0.6855 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.6407, allocations: 8.031 kB / 0.6855 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/0.6428, allocations: 284.4 kB / 0.6858 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.6434, allocations: 279.9 kB / 0.6861 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.6434, allocations: 12.27 kB / 0.6861 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.499e-05/0.6435, allocations: 20 kB / 0.6861 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/0.6443, allocations: 0.4977 MB / 0.6866 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.6443, allocations: 0 / 0.6866 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.6444, allocations: 8 kB / 0.6866 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.6444, allocations: 8 kB / 0.6866 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009503/0.6454, allocations: 0.5778 MB / 0.6872 GB, free: 1.258 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.002263/0.6477, allocations: 1.012 MB / 0.6882 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.6481, allocations: 249 kB / 0.6884 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.6484, allocations: 183.9 kB / 0.6886 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.6494, allocations: 387.3 kB / 0.6889 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.6495, allocations: 38.5 kB / 0.689 GB, free: 15.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.6495, allocations: 0 / 0.689 GB, free: 15.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001907/0.6514, allocations: 0.5877 MB / 0.6895 GB, free: 14.67 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.6515, allocations: 85.03 kB / 0.6896 GB, free: 14.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.6516, allocations: 137.7 kB / 0.6898 GB, free: 14.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.6517, allocations: 29.7 kB / 0.6898 GB, free: 14.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/0.6518, allocations: 112.4 kB / 0.6899 GB, free: 14.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.547e-05/0.6519, allocations: 106.5 kB / 0.69 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.6521, allocations: 69.47 kB / 0.6901 GB, free: 14.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.6523, allocations: 326.8 kB / 0.6904 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.6526, allocations: 183.9 kB / 0.6905 GB, free: 13.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.653, allocations: 292.5 kB / 0.6908 GB, free: 13.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/0.6539, allocations: 495.2 kB / 0.6913 GB, free: 12.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6539, allocations: 0 / 0.6913 GB, free: 12.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009237/0.6548, allocations: 0.5168 MB / 0.6918 GB, free: 12.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.6549, allocations: 10.34 kB / 0.6918 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.6549, allocations: 7.984 kB / 0.6918 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.6549, allocations: 4 kB / 0.6918 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.6554, allocations: 79.89 kB / 0.6919 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.6554, allocations: 16.41 kB / 0.6919 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.6558, allocations: 35.77 kB / 0.692 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.6559, allocations: 16 kB / 0.692 GB, free: 12.04 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * 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.000169/0.6561, allocations: 149.6 kB / 0.6921 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.6562, allocations: 19.8 kB / 0.6921 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.6573, allocations: 0.4892 MB / 0.6926 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.6573, allocations: 4 kB / 0.6926 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6573, allocations: 0 / 0.6926 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.6573, allocations: 0 / 0.6926 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007413/0.658, allocations: 465.9 kB / 0.6931 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.6581, allocations: 4 kB / 0.6931 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/0.6586, allocations: 63.89 kB / 0.6931 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6586, allocations: 0 / 0.6931 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.6586, allocations: 8 kB / 0.6931 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.6586, allocations: 7.984 kB / 0.6931 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6586, allocations: 0 / 0.6931 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.6598, allocations: 0.6917 MB / 0.6938 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.6599, allocations: 92.95 kB / 0.6939 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.66, allocations: 11.94 kB / 0.6939 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.6604, allocations: 23.95 kB / 0.6939 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.6605, allocations: 11.98 kB / 0.6939 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.6606, allocations: 19.98 kB / 0.694 GB, free: 9.898 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.699e-05/0.6606, allocations: 103.2 kB / 0.6941 GB, free: 9.797 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6606, allocations: 0 / 0.6941 GB, free: 9.797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007955/0.6614, allocations: 167.8 kB / 0.6942 GB, free: 9.633 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.0008164/0.6623, allocations: 330.9 kB / 0.6945 GB, free: 9.297 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007948/0.6631, allocations: 447.5 kB / 0.695 GB, free: 8.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6631, allocations: 0.8125 kB / 0.695 GB, free: 8.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.6634, allocations: 215.8 kB / 0.6952 GB, free: 8.648 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007103/0.6641, allocations: 92.36 kB / 0.6953 GB, free: 8.559 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.6656, allocations: 0.8676 MB / 0.6961 GB, free: 7.664 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.666, allocations: 0.7405 MB / 0.6968 GB, free: 6.898 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004347/0.6664, allocations: 105.8 kB / 0.6969 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.6665, allocations: 23.44 kB / 0.697 GB, free: 6.77 MB / 0.545 GB Notification: Performance of SimCode: time 4.7e-07/0.6666, allocations: 4 kB / 0.697 GB, free: 6.766 MB / 0.545 GB Notification: Performance of Templates: time 0.01372/0.6803, allocations: 8.108 MB / 0.7049 GB, free: 14.7 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches