Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009596/0.0009596, allocations: 77.36 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002399, allocations: 445.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008551/0.0008551, allocations: 148.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.002211, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.005/1.005, allocations: 173.4 MB / 185.9 MB, free: 8.918 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08338/1.089, allocations: 52.5 MB / 238.4 MB, free: 4.363 MB / 234.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.1338/0.1338, allocations: 32.8 MB / 272 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1691/0.3029, allocations: 12.56 MB / 284.5 MB, free: 11.88 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 285.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.341e-05, allocations: 2.859 kB / 285.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003032/0.003056, allocations: 1.749 MB / 287.6 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004979/0.008035, allocations: 484.7 kB / 288.1 MB, free: 9.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.155e-05/0.008117, allocations: 1.312 kB / 288.1 MB, free: 9.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.008306, allocations: 27.72 kB / 288.1 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.008493, allocations: 41.28 kB / 288.1 MB, free: 9.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.008978, allocations: 190.6 kB / 288.3 MB, free: 8.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.00918, allocations: 93.03 kB / 288.4 MB, free: 8.836 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.009295, allocations: 13.92 kB / 288.4 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.009454, allocations: 66.95 kB / 288.5 MB, free: 8.781 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.748e-05/0.009542, allocations: 27.28 kB / 288.5 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.009569, allocations: 5.781 kB / 288.5 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.009738, allocations: 62.88 kB / 288.6 MB, free: 8.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.009796, allocations: 18.7 kB / 288.6 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.009829, allocations: 15.53 kB / 288.6 MB, free: 8.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.01007, allocations: 98.05 kB / 288.7 MB, free: 8.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.467e-05/0.01009, allocations: 1.188 kB / 288.7 MB, free: 8.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.01009, allocations: 0 / 288.7 MB, free: 8.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.0101, allocations: 0 / 288.7 MB, free: 8.676 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.003672/0.01377, allocations: 326.5 kB / 289 MB, free: 8.379 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.01382, allocations: 16.78 kB / 289.1 MB, free: 8.371 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.01388, allocations: 6.344 kB / 289.1 MB, free: 8.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.01408, allocations: 138.1 kB / 289.2 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.01409, allocations: 10.14 kB / 289.2 MB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.01412, allocations: 2.188 kB / 289.2 MB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.01431, allocations: 107.8 kB / 289.3 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.01432, allocations: 5.391 kB / 289.3 MB, free: 8.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.01433, allocations: 4.125 kB / 289.3 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.01434, allocations: 1.312 kB / 289.3 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.01438, allocations: 7.875 kB / 289.3 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.01474, allocations: 200.8 kB / 289.5 MB, free: 7.914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.01485, allocations: 36.92 kB / 289.6 MB, free: 7.879 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.01488, allocations: 11.25 kB / 289.6 MB, free: 7.871 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.0149, allocations: 0 / 289.6 MB, free: 7.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.01493, allocations: 36.55 kB / 289.6 MB, free: 7.828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.01493, allocations: 0 / 289.6 MB, free: 7.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006086/0.01554, allocations: 152 kB / 289.8 MB, free: 7.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.01557, allocations: 57.5 kB / 289.8 MB, free: 7.672 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.01569, allocations: 137.1 kB / 290 MB, free: 7.551 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.01571, allocations: 29.7 kB / 290 MB, free: 7.516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.01575, allocations: 93.36 kB / 290.1 MB, free: 7.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.01578, allocations: 33.94 kB / 290.1 MB, free: 7.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.01583, allocations: 25.11 kB / 290.1 MB, free: 7.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.01592, allocations: 325.4 kB / 290.5 MB, free: 7.047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/0.01595, allocations: 7.719 kB / 290.5 MB, free: 7.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003077/0.01903, allocations: 53.08 kB / 290.5 MB, free: 6.992 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.662e-05/0.01912, allocations: 33.91 kB / 290.5 MB, free: 6.973 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01912, allocations: 1.219 kB / 290.5 MB, free: 6.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000128/0.01925, allocations: 71.58 kB / 290.6 MB, free: 6.922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01926, allocations: 5.125 kB / 290.6 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01927, allocations: 0 / 290.6 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.01928, allocations: 1.188 kB / 290.6 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.01944, allocations: 30.38 kB / 290.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.01944, allocations: 1.125 kB / 290.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.196e-05/0.0195, allocations: 15.77 kB / 290.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.01951, allocations: 1.594 kB / 290.7 MB, free: 6.906 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.827e-05/0.01959, allocations: 120 kB / 290.8 MB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.01963, allocations: 12.62 kB / 290.8 MB, free: 6.773 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.01978, allocations: 81.11 kB / 290.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01979, allocations: 1.125 kB / 290.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01979, allocations: 4 kB / 290.9 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.0198, allocations: 1.344 kB / 290.9 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.02017, allocations: 293.6 kB / 291.2 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.02017, allocations: 1 kB / 291.2 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.02028, allocations: 32.8 kB / 291.2 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.0203, allocations: 7.359 kB / 291.2 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.0203, allocations: 4 kB / 291.2 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.02031, allocations: 1.156 kB / 291.2 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.02031, allocations: 0 / 291.2 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.02031, allocations: 1.531 kB / 291.2 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.02046, allocations: 169.3 kB / 291.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.02048, allocations: 5.812 kB / 291.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.601e-05/0.02058, allocations: 11.36 kB / 291.4 MB, free: 6.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.02062, allocations: 15.3 kB / 291.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.02063, allocations: 1.312 kB / 291.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.567e-05/0.02068, allocations: 35.47 kB / 291.4 MB, free: 6.227 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02068, allocations: 4 kB / 291.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.02096, allocations: 35.77 kB / 291.5 MB, free: 6.211 MB / 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.004915/0.02587, allocations: 0.6279 MB / 292.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.02601, allocations: 42.91 kB / 292.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/0.02602, allocations: 1.375 kB / 292.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.145e-05/0.02608, allocations: 34.64 kB / 292.2 MB, free: 5.957 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.02646, allocations: 147.5 kB / 292.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/0.02706, allocations: 209.1 kB / 292.5 MB, free: 5.637 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.09e-05/0.02711, allocations: 68.97 kB / 292.6 MB, free: 5.559 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.866e-05/0.02719, allocations: 19.3 kB / 292.6 MB, free: 5.547 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.0273, allocations: 69.23 kB / 292.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.0273, allocations: 1.375 kB / 292.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of Templates: time 0.01151/0.03881, allocations: 2.37 MB / 295.1 MB, free: 4.047 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.969570710323751]