Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.00102/0.00102, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009764/0.0009764, allocations: 161 kB / 24.55 MB, free: 20 kB / 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 1.085/1.085, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2652/0.2652, allocations: 32.81 MB / 294.3 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.257e-05, allocations: 2.312 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003081/0.003104, allocations: 1.699 MB / 377.7 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.004189, allocations: 0.5415 MB / 378.3 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.004254, allocations: 4 kB / 378.3 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.004562, allocations: 91.61 kB / 378.4 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.004855, allocations: 119.5 kB / 378.5 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.005087, allocations: 99.62 kB / 378.6 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.005262, allocations: 99.78 kB / 378.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.005369, allocations: 15.94 kB / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.005448, allocations: 59.81 kB / 378.8 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.949e-05/0.005547, allocations: 55.86 kB / 378.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.005566, allocations: 8 kB / 378.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.048e-05/0.005657, allocations: 43.92 kB / 378.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.005713, allocations: 39.84 kB / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.005751, allocations: 19.92 kB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.005932, allocations: 107.5 kB / 379 MB, free: 1.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005934, allocations: 0 / 379 MB, free: 1.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005935, allocations: 0 / 379 MB, free: 1.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.00594, allocations: 0 / 379 MB, free: 1.668 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004795/0.006419, allocations: 463.8 kB / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.006459, allocations: 8.031 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.006511, allocations: 20.84 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.006676, allocations: 152.4 kB / 379.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.006688, allocations: 8.375 kB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.006718, allocations: 8.375 kB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.00686, allocations: 74.88 kB / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.006872, allocations: 192 / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.006883, allocations: 4.125 kB / 379.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.006891, allocations: 0 / 379.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.228e-05/0.006943, allocations: 31.95 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.00731, allocations: 315.6 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.028e-05/0.007401, allocations: 62.92 kB / 380.1 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.007429, allocations: 15.67 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.007457, allocations: 4 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.007481, allocations: 41.39 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.007482, allocations: 112 / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006922/0.008175, allocations: 249.7 kB / 380.4 MB, free: 104 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.008204, allocations: 55.41 kB / 380.5 MB, free: 36 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.008393, allocations: 246.7 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.008406, allocations: 29.7 kB / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.008474, allocations: 158.9 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.008512, allocations: 51.58 kB / 381 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.008558, allocations: 31.38 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.008686, allocations: 0.5 MB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.43e-05/0.00872, allocations: 15.98 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.008754, allocations: 19.98 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.97e-05/0.008833, allocations: 51.67 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.008835, allocations: 0 / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001419/0.008977, allocations: 109.3 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.008989, allocations: 8 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.008994, allocations: 0 / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.009014, allocations: 4 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.009116, allocations: 27.98 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.009122, allocations: 0 / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.009152, allocations: 11.98 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.009163, allocations: 7.938 kB / 381.8 MB, free: 14.72 MB / 362.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 (13): * Single equations (assignments): 13 * 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 8.054e-05/0.009244, allocations: 160.5 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.00928, allocations: 23.86 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.009477, allocations: 119.1 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.009479, allocations: 0 / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.009483, allocations: 0 / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.009487, allocations: 8 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.009896, allocations: 440.8 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.009899, allocations: 4 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.571e-05/0.009965, allocations: 19.98 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.009967, allocations: 4 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.009977, allocations: 3.938 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.00998, allocations: 4 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.009982, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.01015, allocations: 259.5 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.01016, allocations: 11.91 kB / 382.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.01018, allocations: 11.97 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.477e-05/0.01024, allocations: 4 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.01027, allocations: 11.97 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.01028, allocations: 4 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.586e-05/0.01038, allocations: 185.1 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01038, allocations: 0 / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002537/0.01063, allocations: 31.92 kB / 383 MB, free: 13.36 MB / 362.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 (13): * Single equations (assignments): 13 * 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.004057/0.01469, allocations: 439.2 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.01497, allocations: 75.59 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01497, allocations: 0 / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.014e-05/0.01502, allocations: 35.61 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.01531, allocations: 36.06 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.01574, allocations: 268.7 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.448e-05/0.01579, allocations: 75.33 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.701e-05/0.01584, allocations: 16.55 kB / 384 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.01588, allocations: 24.5 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01588, allocations: 0 / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Templates: time 0.006828/0.02271, allocations: 1.553 MB / 385.5 MB, free: 10.97 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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: 3.3444119528867304]