Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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.0006979/0.0006979, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002002, allocations: 445.8 kB / 10.44 MB, free: 256 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.0006984/0.0006984, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009608/0.001659, allocations: 475.6 kB / 11.8 MB, free: 2.367 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 0.9109/0.9109, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1553/1.066, allocations: 52.49 MB / 238.5 MB, free: 7.633 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.1313/0.1313, allocations: 32.8 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02058/0.1519, allocations: 12.54 MB / 284.5 MB, free: 9.727 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.CombiTable1Dv.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 285.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.217e-05, allocations: 6.312 kB / 285.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003168/0.00319, allocations: 1.663 MB / 287.5 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008041/0.003994, allocations: 434.9 kB / 288 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/0.00405, allocations: 3.938 kB / 288 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.004192, allocations: 27.78 kB / 288 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.004336, allocations: 39.72 kB / 288 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.004653, allocations: 111.6 kB / 288.1 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.004813, allocations: 67.72 kB / 288.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.004896, allocations: 12.16 kB / 288.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.005002, allocations: 43.92 kB / 288.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.986e-05/0.005082, allocations: 23.91 kB / 288.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.005103, allocations: 4 kB / 288.3 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.005243, allocations: 59.78 kB / 288.3 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.005285, allocations: 4 kB / 288.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.005312, allocations: 11.94 kB / 288.4 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.005508, allocations: 79.73 kB / 288.4 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.005521, allocations: 8 kB / 288.4 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.005521, allocations: 0 / 288.4 MB, free: 5.809 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.00553, allocations: 0 / 288.4 MB, free: 5.809 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003396/0.00587, allocations: 292.1 kB / 288.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.658e-05/0.005896, allocations: 8.031 kB / 288.7 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.005926, allocations: 4.938 kB / 288.7 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.006053, allocations: 137.3 kB / 288.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-06/0.006059, allocations: 384 / 288.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.006081, allocations: 8.328 kB / 288.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.006184, allocations: 94.36 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.006193, allocations: 4.188 kB / 289 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.0062, allocations: 3.938 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.006205, allocations: 4 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.671e-05/0.006222, allocations: 4 kB / 289 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.00643, allocations: 175 kB / 289.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.006484, allocations: 33.39 kB / 289.2 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.0065, allocations: 12.92 kB / 289.2 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.006516, allocations: 0 / 289.2 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.006535, allocations: 34.56 kB / 289.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.006536, allocations: 4 kB / 289.2 MB, free: 4.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002616/0.006797, allocations: 109.4 kB / 289.4 MB, free: 4.789 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.006819, allocations: 51.41 kB / 289.4 MB, free: 4.727 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.006904, allocations: 140.3 kB / 289.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.006914, allocations: 25.7 kB / 289.6 MB, free: 4.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.006943, allocations: 88.12 kB / 289.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.006962, allocations: 27.78 kB / 289.7 MB, free: 4.426 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.006988, allocations: 17.72 kB / 289.7 MB, free: 4.402 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.007061, allocations: 322.8 kB / 290 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.007076, allocations: 10.81 kB / 290 MB, free: 4.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.892e-05/0.007105, allocations: 47.42 kB / 290.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.00714, allocations: 42.64 kB / 290.1 MB, free: 3.961 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.007141, allocations: 0 / 290.1 MB, free: 3.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.611e-05/0.007197, allocations: 64.38 kB / 290.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.007206, allocations: 4 kB / 290.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.007209, allocations: 0 / 290.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.00722, allocations: 288 / 290.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.011e-05/0.00728, allocations: 19.98 kB / 290.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.007283, allocations: 0 / 290.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.0073, allocations: 8 kB / 290.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.007305, allocations: 0 / 290.2 MB, free: 3.859 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 (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.704e-05/0.007352, allocations: 116.7 kB / 290.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.007376, allocations: 19.91 kB / 290.3 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.772e-05/0.007454, allocations: 66 kB / 290.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.007455, allocations: 0 / 290.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.007456, allocations: 0 / 290.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.007458, allocations: 0 / 290.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.007669, allocations: 278.6 kB / 290.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.00767, allocations: 0 / 290.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.007701, allocations: 12 kB / 290.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.007708, allocations: 7.938 kB / 290.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.00771, allocations: 4 kB / 290.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.007715, allocations: 8 kB / 290.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.007717, allocations: 0 / 290.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.007717, allocations: 0 / 290.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.264e-05/0.00779, allocations: 155.4 kB / 290.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.007802, allocations: 7.984 kB / 290.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.017e-05/0.007832, allocations: 4 kB / 290.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.007855, allocations: 4 kB / 290.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.00786, allocations: 7.984 kB / 290.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.387e-05/0.007884, allocations: 26.48 kB / 290.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007884, allocations: 4 kB / 290.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000139/0.008023, allocations: 23.94 kB / 290.9 MB, free: 3.074 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 (7): * Single equations (assignments): 7 * 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.001196/0.009219, allocations: 0.6175 MB / 291.6 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.071e-05/0.009299, allocations: 28.84 kB / 291.6 MB, free: 2.719 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.009305, allocations: 0 / 291.6 MB, free: 2.719 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/0.00934, allocations: 28.78 kB / 291.6 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.009536, allocations: 85.53 kB / 291.7 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.009901, allocations: 186.6 kB / 291.9 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.427e-05/0.009955, allocations: 63.34 kB / 291.9 MB, free: 2.301 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.961e-05/0.009995, allocations: 13.19 kB / 291.9 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.01006, allocations: 67.36 kB / 292 MB, free: 2.223 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01006, allocations: 0 / 292 MB, free: 2.223 MB / 282.7 MB Notification: Performance of Templates: time 0.003017/0.01308, allocations: 1.774 MB / 293.8 MB, free: 476 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_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.616763971745968]