Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.0009528/0.0009528, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.00102/0.00102, allocations: 164.8 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8732/0.8732, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1371/0.1371, allocations: 34.26 MB / 296.8 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088e-05/1.212e-05, allocations: 2.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.001619/0.001631, allocations: 1.649 MB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000564/0.002195, allocations: 0.522 MB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.002242, allocations: 3.938 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.002467, allocations: 123.6 kB / 381.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.002674, allocations: 135.4 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.002847, allocations: 91.69 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.002965, allocations: 99.73 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.22e-05/0.003038, allocations: 11.98 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.003094, allocations: 55.88 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.96e-05/0.003184, allocations: 91.81 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.003195, allocations: 4 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.781e-05/0.003263, allocations: 43.92 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.003301, allocations: 27.86 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.003321, allocations: 15.92 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.003439, allocations: 103.6 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.00344, allocations: 0 / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.003441, allocations: 3.938 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.003444, allocations: 0 / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002574/0.003701, allocations: 471.7 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.7e-05/0.003728, allocations: 8.031 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.003755, allocations: 16.84 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.176e-05/0.003847, allocations: 148.4 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.003854, allocations: 8.312 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.003868, allocations: 4.375 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.118e-05/0.003939, allocations: 62.92 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.003949, allocations: 192 / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.003956, allocations: 12.06 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.003961, allocations: 0 / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.176e-05/0.003982, allocations: 19.97 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.004176, allocations: 264.4 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.814e-05/0.004224, allocations: 46.97 kB / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.004238, allocations: 11.69 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.004252, allocations: 0 / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.004265, allocations: 41.33 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.004266, allocations: 4 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000379/0.004645, allocations: 153.4 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.004664, allocations: 59.41 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.004768, allocations: 270.7 kB / 383.8 MB, free: 18.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.052e-06/0.004774, allocations: 25.7 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.004817, allocations: 162.8 kB / 384 MB, free: 18.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.004839, allocations: 35.72 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.004864, allocations: 23.38 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.004913, allocations: 0.5001 MB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.004925, allocations: 11.98 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.164e-05/0.004937, allocations: 7.938 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.004967, allocations: 35.66 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.004968, allocations: 7.938 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.713e-05/0.005035, allocations: 73.59 kB / 384.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.005048, allocations: 8 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.005052, allocations: 0 / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.005061, allocations: 0 / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.005122, allocations: 19.92 kB / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.005125, allocations: 0 / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.005144, allocations: 4 kB / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.005148, allocations: 3.938 kB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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 4.08e-05/0.005189, allocations: 164.5 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.005211, allocations: 19.91 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.397e-05/0.005305, allocations: 87.42 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005307, allocations: 0 / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.005308, allocations: 4 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.005311, allocations: 0 / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.00552, allocations: 361.5 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.005522, allocations: 0 / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.005556, allocations: 19.92 kB / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.005558, allocations: 0 / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.005563, allocations: 4 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.005564, allocations: 4.031 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005565, allocations: 0 / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.222e-05/0.005637, allocations: 231.5 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.005647, allocations: 11.91 kB / 385.6 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.005658, allocations: 7.938 kB / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.463e-05/0.005692, allocations: 7.984 kB / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.005713, allocations: 11.98 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.005718, allocations: 3.984 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.706e-05/0.005765, allocations: 180.1 kB / 385.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005765, allocations: 0 / 385.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.005923, allocations: 27.92 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0007771/0.0067, allocations: 437.1 kB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.373e-05/0.006774, allocations: 35.61 kB / 386.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.006776, allocations: 0 / 386.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.161e-05/0.006797, allocations: 27.66 kB / 386.4 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.006993, allocations: 27 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.007272, allocations: 261.1 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.951e-05/0.007302, allocations: 75.19 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.022e-05/0.007332, allocations: 16.72 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.007377, allocations: 86.19 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007378, allocations: 0 / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Templates: time 0.002687/0.01006, allocations: 1.543 MB / 388.4 MB, free: 14.15 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7999547570943832]