Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_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.0008346/0.0008346, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.00231, 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.001158/0.001158, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001545/0.002703, 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.036/1.036, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08529/1.121, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.2451/0.2451, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02246/0.2675, allocations: 13.09 MB / 291.3 MB, free: 7.367 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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.528e-06/1.057e-05, allocations: 7.891 kB / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.001753/0.001763, allocations: 1.691 MB / 294.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007026/0.002466, allocations: 0.5569 MB / 294.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.002526, allocations: 0 / 294.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.002661, allocations: 27.72 kB / 294.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.002842, allocations: 71.64 kB / 295 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.003081, allocations: 91.62 kB / 295.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.003233, allocations: 79.77 kB / 295.2 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.704e-05/0.00331, allocations: 19.91 kB / 295.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.226e-05/0.003403, allocations: 62.22 kB / 295.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.003472, allocations: 19.97 kB / 295.3 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.003485, allocations: 4 kB / 295.3 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.003636, allocations: 103.8 kB / 295.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.003665, allocations: 11.94 kB / 295.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.003687, allocations: 8 kB / 295.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.003858, allocations: 135.5 kB / 295.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.609e-05/0.003874, allocations: 0 / 295.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.003875, allocations: 0 / 295.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.003886, allocations: 4 kB / 295.5 MB, free: 3.391 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003689/0.004255, allocations: 333.1 kB / 295.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.004284, allocations: 8.031 kB / 295.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.004313, allocations: 12.92 kB / 295.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.00444, allocations: 133.6 kB / 296 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-06/0.004447, allocations: 384 / 296 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.004464, allocations: 4.375 kB / 296 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.004573, allocations: 98.34 kB / 296.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.004579, allocations: 192 / 296.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.004587, allocations: 4.125 kB / 296.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.004592, allocations: 8 kB / 296.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.439e-05/0.004616, allocations: 7.984 kB / 296.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.004859, allocations: 175 kB / 296.3 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.683e-05/0.004926, allocations: 49.42 kB / 296.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.885e-05/0.004945, allocations: 12.86 kB / 296.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.004966, allocations: 0 / 296.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.004986, allocations: 34.56 kB / 296.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 6.01e-07/0.004987, allocations: 0 / 296.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003032/0.00529, allocations: 105.6 kB / 296.5 MB, free: 2.312 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.00532, allocations: 55.41 kB / 296.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.00542, allocations: 152.2 kB / 296.7 MB, free: 2.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.005433, allocations: 33.69 kB / 296.7 MB, free: 2.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.005465, allocations: 92.06 kB / 296.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.005484, allocations: 27.8 kB / 296.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.005512, allocations: 21.7 kB / 296.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.005589, allocations: 326.8 kB / 297.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.005604, allocations: 10.83 kB / 297.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-05/0.005635, allocations: 47.41 kB / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.005673, allocations: 34.48 kB / 297.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.005674, allocations: 0 / 297.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.476e-05/0.005739, allocations: 72.41 kB / 297.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.005749, allocations: 5.719 kB / 297.3 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.005752, allocations: 0 / 297.3 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.00576, allocations: 4 kB / 297.3 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.005842, allocations: 19.98 kB / 297.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.005845, allocations: 3.938 kB / 297.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.005866, allocations: 7.938 kB / 297.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.005871, allocations: 4 kB / 297.4 MB, free: 1.336 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 (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 prepare postOptimizeDAE: time 5.143e-05/0.005923, allocations: 108.7 kB / 297.5 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.005943, allocations: 23.92 kB / 297.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.986e-05/0.006033, allocations: 66.45 kB / 297.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.006035, allocations: 4 kB / 297.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.006036, allocations: 0 / 297.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.00604, allocations: 3.984 kB / 297.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.006253, allocations: 286.5 kB / 297.9 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006254, allocations: 4 kB / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.006292, allocations: 15.98 kB / 297.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.006302, allocations: 11.89 kB / 297.9 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006303, allocations: 0 / 297.9 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-06/0.006307, allocations: 4 kB / 297.9 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.006309, allocations: 384 / 297.9 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.00631, allocations: 0 / 297.9 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.85e-05/0.006389, allocations: 159.5 kB / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.006401, allocations: 4 kB / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.275e-05/0.006433, allocations: 4 kB / 298.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.006457, allocations: 7.984 kB / 298.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.00646, allocations: 0 / 298.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.131e-05/0.006491, allocations: 38.06 kB / 298.1 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006491, allocations: 0 / 298.1 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.006652, allocations: 43.86 kB / 298.1 MB, free: 0.5078 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 (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.001412/0.008064, allocations: 0.7009 MB / 298.9 MB, free: 184 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.856e-05/0.008152, allocations: 32.84 kB / 298.9 MB, free: 148 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.008161, allocations: 4 kB / 298.9 MB, free: 144 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.373e-05/0.008184, allocations: 24.78 kB / 298.9 MB, free: 116 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.008352, allocations: 38.31 kB / 298.9 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.008769, allocations: 183 kB / 299.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.067e-05/0.00881, allocations: 71.2 kB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.409e-05/0.008854, allocations: 16.62 kB / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.008918, allocations: 67.36 kB / 299.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008918, allocations: 0 / 299.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of Templates: time 0.00349/0.01241, allocations: 2.281 MB / 301.6 MB, free: 13.44 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_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.0234722616150975]