Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 79.25 kB / 19.75 MB, free: 1.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 161.8 kB / 23.01 MB, free: 4.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 158.6 MB / 184.8 MB, free: 6.512 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2394/0.2394, allocations: 32.39 MB / 269.4 MB, free: 2.945 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002524, allocations: 76.36 kB / 407 MB, free: 1.062 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4053, allocations: 61.01 MB / 468 MB, free: 8.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2049/0.6103, allocations: 129.8 MB / 0.5838 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.6131, allocations: 1.893 MB / 0.5857 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.931e-05/0.6131, allocations: 3.938 kB / 0.5857 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.6136, allocations: 51.67 kB / 0.5858 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.6155, allocations: 0.6258 MB / 0.5864 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.6159, allocations: 103.8 kB / 0.5865 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.6164, allocations: 270.9 kB / 0.5867 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.836e-05/0.6164, allocations: 7.984 kB / 0.5867 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003887/0.6168, allocations: 163.4 kB / 0.5869 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.6171, allocations: 103.6 kB / 0.587 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.6171, allocations: 8 kB / 0.587 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.6187, allocations: 0.7363 MB / 0.5877 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.6188, allocations: 87.75 kB / 0.5878 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.6189, allocations: 83.7 kB / 0.5879 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.62, allocations: 0.6418 MB / 0.5885 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.62, allocations: 0 / 0.5885 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.62, allocations: 0 / 0.5885 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.62, allocations: 0 / 0.5885 GB, free: 12.18 MB / 0.4981 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.0009399/0.6209, allocations: 437.5 kB / 0.5889 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.621, allocations: 8.031 kB / 0.5889 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.6229, allocations: 272.5 kB / 0.5892 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.6234, allocations: 214.3 kB / 0.5894 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.6234, allocations: 16.7 kB / 0.5894 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-05/0.6235, allocations: 23.89 kB / 0.5894 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.6245, allocations: 0.6473 MB / 0.5901 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.6245, allocations: 0 / 0.5901 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.6246, allocations: 8 kB / 0.5901 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/0.6246, allocations: 15.94 kB / 0.5901 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.6256, allocations: 0.5817 MB / 0.5906 GB, free: 9.879 MB / 0.4981 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.002404/0.628, allocations: 0.898 MB / 0.5915 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.6285, allocations: 241.1 kB / 0.5918 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.6288, allocations: 181.2 kB / 0.5919 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007385/0.6295, allocations: 127.9 kB / 0.5921 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.6296, allocations: 42.84 kB / 0.5921 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.6296, allocations: 0 / 0.5921 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28): time 0.002019/0.6316, allocations: 0.5991 MB / 0.5927 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/0.6317, allocations: 89.11 kB / 0.5928 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.6318, allocations: 137.7 kB / 0.5929 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.6319, allocations: 33.7 kB / 0.5929 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.632, allocations: 108.6 kB / 0.593 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.6321, allocations: 118.9 kB / 0.5931 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.6323, allocations: 65.69 kB / 0.5932 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.6324, allocations: 326.8 kB / 0.5935 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.6328, allocations: 183.9 kB / 0.5937 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.6332, allocations: 284.7 kB / 0.594 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008177/0.6341, allocations: 0.4967 MB / 0.5944 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6341, allocations: 0 / 0.5944 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009864/0.6351, allocations: 0.5146 MB / 0.595 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.6351, allocations: 8.062 kB / 0.595 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.6351, allocations: 7.938 kB / 0.595 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.6351, allocations: 8 kB / 0.595 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.6356, allocations: 79.89 kB / 0.595 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.6357, allocations: 4 kB / 0.5951 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.636, allocations: 35.77 kB / 0.5951 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/0.6361, allocations: 23.98 kB / 0.5951 GB, free: 5.086 MB / 0.4981 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.0001851/0.6363, allocations: 141.7 kB / 0.5952 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.6364, allocations: 23.84 kB / 0.5953 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.6375, allocations: 497.8 kB / 0.5957 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6375, allocations: 4 kB / 0.5957 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.6375, allocations: 4 kB / 0.5958 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.6375, allocations: 3.984 kB / 0.5958 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007201/0.6382, allocations: 357.8 kB / 0.5961 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6382, allocations: 0 / 0.5961 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.6387, allocations: 59.89 kB / 0.5962 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.6387, allocations: 3.938 kB / 0.5962 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.6388, allocations: 8 kB / 0.5962 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.6388, allocations: 7.984 kB / 0.5962 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6388, allocations: 0 / 0.5962 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.64, allocations: 0.6924 MB / 0.5968 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.6401, allocations: 23.72 kB / 0.5969 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.6401, allocations: 8 kB / 0.5969 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.6406, allocations: 23.97 kB / 0.5969 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.6406, allocations: 19.97 kB / 0.5969 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.6407, allocations: 23.92 kB / 0.5969 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.8e-05/0.6408, allocations: 95.7 kB / 0.597 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6408, allocations: 0 / 0.597 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007746/0.6415, allocations: 163.7 kB / 0.5972 GB, free: 2.895 MB / 0.4981 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.0008631/0.6424, allocations: 339 kB / 0.5975 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000882/0.6433, allocations: 427.5 kB / 0.5979 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6433, allocations: 0 / 0.5979 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.6437, allocations: 207.8 kB / 0.5981 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007192/0.6444, allocations: 93.19 kB / 0.5982 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.6459, allocations: 0.8722 MB / 0.5991 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.6461, allocations: 123.6 kB / 0.5992 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004783/0.6466, allocations: 117.7 kB / 0.5993 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.6467, allocations: 32.48 kB / 0.5993 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/0.6467, allocations: 0 / 0.5993 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of Templates: time 0.01565/0.6624, allocations: 8.232 MB / 0.6074 GB, free: 8.441 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.049124309793115]