Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.0009332/0.0009332, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.002061, 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.0007241/0.0007241, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008515/0.001576, 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.027/1.027, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1172/1.144, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.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.3284/0.3284, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03219/0.3606, allocations: 12.52 MB / 289.3 MB, free: 8.684 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.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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.678e-05, allocations: 3.297 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003223/0.00325, allocations: 1.695 MB / 292.3 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.005338, allocations: 1.33 MB / 293.6 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.138e-05/0.005409, allocations: 0 / 293.6 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.005587, allocations: 23.19 kB / 293.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.005849, allocations: 83.33 kB / 293.7 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.006192, allocations: 121 kB / 293.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.006386, allocations: 79.72 kB / 293.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.006521, allocations: 15.97 kB / 294 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.006657, allocations: 63.89 kB / 294 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.00679, allocations: 31.89 kB / 294.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.006814, allocations: 4 kB / 294.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.007045, allocations: 95.88 kB / 294.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.0071, allocations: 11.94 kB / 294.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.007142, allocations: 15.94 kB / 294.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.007428, allocations: 139.4 kB / 294.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-05/0.00745, allocations: 0 / 294.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.007451, allocations: 0 / 294.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.104e-05/0.007472, allocations: 0 / 294.3 MB, free: 4.598 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006215/0.008094, allocations: 328.6 kB / 294.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.008143, allocations: 8.031 kB / 294.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.008192, allocations: 12.94 kB / 294.7 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.008403, allocations: 139.9 kB / 294.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.008416, allocations: 4.375 kB / 294.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.008441, allocations: 4.375 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.008615, allocations: 102.3 kB / 294.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.008627, allocations: 192 / 294.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.008638, allocations: 8.125 kB / 294.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.008647, allocations: 3.984 kB / 294.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.173e-05/0.008689, allocations: 15.92 kB / 294.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.009022, allocations: 187 kB / 295.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.882e-05/0.009101, allocations: 42.58 kB / 295.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.009124, allocations: 8.859 kB / 295.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.009152, allocations: 4 kB / 295.2 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.009181, allocations: 38.48 kB / 295.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.009182, allocations: 0 / 295.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003954/0.009578, allocations: 97.67 kB / 295.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.009617, allocations: 59.39 kB / 295.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.009749, allocations: 148.2 kB / 295.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.009765, allocations: 33.7 kB / 295.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.009808, allocations: 84.14 kB / 295.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.009849, allocations: 35.72 kB / 295.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.009886, allocations: 17.72 kB / 295.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.009994, allocations: 318.8 kB / 296 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.01001, allocations: 8 kB / 296 MB, free: 2.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.01006, allocations: 55.39 kB / 296 MB, free: 2.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.225e-05/0.01012, allocations: 31.98 kB / 296.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01012, allocations: 0 / 296.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.232e-05/0.01021, allocations: 61.59 kB / 296.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.01023, allocations: 5.875 kB / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01023, allocations: 8.344 kB / 296.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.01025, allocations: 4 kB / 296.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.01035, allocations: 15.98 kB / 296.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.01036, allocations: 0 / 296.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.313e-05/0.01039, allocations: 4 kB / 296.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.0104, allocations: 3.984 kB / 296.2 MB, free: 2.555 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 7.805e-05/0.01048, allocations: 120.6 kB / 296.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.01051, allocations: 11.92 kB / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.01066, allocations: 66.45 kB / 296.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.01067, allocations: 15.92 kB / 296.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.01067, allocations: 0 / 296.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01067, allocations: 0 / 296.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.01099, allocations: 238.6 kB / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01099, allocations: 0 / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.184e-05/0.01106, allocations: 19.98 kB / 296.6 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.01107, allocations: 3.953 kB / 296.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.01108, allocations: 4 kB / 296.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.01109, allocations: 4 kB / 296.6 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01109, allocations: 0 / 296.6 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01109, allocations: 0 / 296.6 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.01122, allocations: 163.4 kB / 296.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.01123, allocations: 0 / 296.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.0113, allocations: 8 kB / 296.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.01133, allocations: 3.984 kB / 296.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.01134, allocations: 4 kB / 296.8 MB, free: 1.848 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.055e-05/0.01139, allocations: 35.64 kB / 296.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01139, allocations: 0 / 296.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.01164, allocations: 43.88 kB / 296.9 MB, free: 1.766 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.001836/0.01348, allocations: 0.6817 MB / 297.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.898e-05/0.01358, allocations: 40.77 kB / 297.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.01358, allocations: 4 kB / 297.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.01361, allocations: 20.84 kB / 297.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.01378, allocations: 37.72 kB / 297.7 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.01423, allocations: 191.2 kB / 297.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.01427, allocations: 67.28 kB / 297.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.718e-05/0.01432, allocations: 20.7 kB / 298 MB, free: 1.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.01438, allocations: 71.36 kB / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01439, allocations: 0 / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of Templates: time 0.003933/0.01832, allocations: 2.143 MB / 300.2 MB, free: 14.83 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.2237613536417484]