Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.0009107/0.0009107, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.0022, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007091/0.0007091, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009171/0.001626, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09988/1.104, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2947/0.2947, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02824/0.3229, allocations: 13.1 MB / 291.3 MB, free: 7.383 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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.45e-05, allocations: 3.297 kB / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002386/0.00241, allocations: 1.785 MB / 294.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008224/0.003232, allocations: 0.5957 MB / 295 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.003299, allocations: 4 kB / 295 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.003437, allocations: 27.8 kB / 295.1 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.00365, allocations: 83.48 kB / 295.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.003983, allocations: 176.2 kB / 295.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.004137, allocations: 107.6 kB / 295.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.266e-05/0.00422, allocations: 11.98 kB / 295.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.004336, allocations: 67.81 kB / 295.5 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.311e-05/0.004409, allocations: 35.89 kB / 295.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.004425, allocations: 8 kB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.004607, allocations: 99.88 kB / 295.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.004652, allocations: 19.94 kB / 295.7 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.00468, allocations: 19.88 kB / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.004896, allocations: 147.5 kB / 295.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.524e-05/0.004911, allocations: 0 / 295.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004912, allocations: 0 / 295.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.004927, allocations: 4 kB / 295.8 MB, free: 3.09 MB / 282.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.000473/0.0054, allocations: 352.9 kB / 296.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.005438, allocations: 8.031 kB / 296.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.005484, allocations: 12.92 kB / 296.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.005668, allocations: 138.2 kB / 296.3 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.005679, allocations: 8.375 kB / 296.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.005703, allocations: 4.359 kB / 296.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.005889, allocations: 118.1 kB / 296.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.005898, allocations: 0 / 296.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.005907, allocations: 0 / 296.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.005914, allocations: 0 / 296.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.06e-05/0.005954, allocations: 15.92 kB / 296.5 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.006304, allocations: 187.1 kB / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.006407, allocations: 37.41 kB / 296.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.006433, allocations: 16.84 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.00646, allocations: 7.875 kB / 296.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.006489, allocations: 34.56 kB / 296.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.00649, allocations: 0 / 296.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004695/0.006959, allocations: 141.6 kB / 296.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.006991, allocations: 55.41 kB / 296.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.007115, allocations: 155.5 kB / 297.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.007136, allocations: 33.7 kB / 297.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.007191, allocations: 96.11 kB / 297.2 MB, free: 1.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.007224, allocations: 27.73 kB / 297.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.007271, allocations: 25.7 kB / 297.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.007375, allocations: 330.7 kB / 297.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.007402, allocations: 11.94 kB / 297.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.007451, allocations: 43.42 kB / 297.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.062e-05/0.007521, allocations: 39.64 kB / 297.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.007523, allocations: 3.938 kB / 297.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001182/0.007641, allocations: 69.83 kB / 297.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.007657, allocations: 4 kB / 297.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.007662, allocations: 4.031 kB / 297.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.007672, allocations: 0 / 297.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.007808, allocations: 31.97 kB / 297.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.007811, allocations: 0 / 297.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.007868, allocations: 15.98 kB / 297.8 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.007877, allocations: 4 kB / 297.8 MB, free: 0.9141 MB / 282.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 (10): * Single equations (assignments): 10 * 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 7.334e-05/0.007951, allocations: 120.5 kB / 297.9 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.007986, allocations: 11.98 kB / 297.9 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.008135, allocations: 70.44 kB / 298 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.008139, allocations: 11.94 kB / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.00814, allocations: 0 / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.008144, allocations: 0 / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.008475, allocations: 302.5 kB / 298.3 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.008477, allocations: 0 / 298.3 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.546e-05/0.008572, allocations: 23.98 kB / 298.3 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.008587, allocations: 11.94 kB / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008589, allocations: 0 / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.008596, allocations: 0 / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.008598, allocations: 8 kB / 298.4 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.008599, allocations: 0 / 298.4 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.008726, allocations: 167.4 kB / 298.5 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.008743, allocations: 0 / 298.5 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-05/0.008826, allocations: 12.36 kB / 298.5 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.008868, allocations: 15.97 kB / 298.6 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.008873, allocations: 0 / 298.6 MB, free: 120 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.008907, allocations: 39.89 kB / 298.6 MB, free: 80 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008907, allocations: 0 / 298.6 MB, free: 80 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001923/0.0091, allocations: 55.73 kB / 298.6 MB, free: 24 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.001468/0.01057, allocations: 0.6934 MB / 299.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.01067, allocations: 48.77 kB / 299.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.01068, allocations: 0 / 299.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.171e-05/0.01071, allocations: 28.78 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.0109, allocations: 27.98 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.01136, allocations: 234.7 kB / 299.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.586e-05/0.01139, allocations: 67.92 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.516e-05/0.01145, allocations: 12.48 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.01153, allocations: 79.3 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01153, allocations: 4 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of Templates: time 0.004233/0.01576, allocations: 2.858 MB / 302.7 MB, free: 12.33 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.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.029797926545143]