Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.00129/0.00129, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002827, 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.001063/0.001063, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.00242, 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.113/1.113, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1361/1.249, allocations: 53.64 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.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.3201/0.3201, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.032/0.3521, allocations: 12.53 MB / 289.3 MB, free: 8.668 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.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.472e-05, allocations: 3.438 kB / 290.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003103/0.003127, allocations: 1.809 MB / 292.5 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.004746, allocations: 1.017 MB / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.344e-05/0.004829, allocations: 0 / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.005089, allocations: 97.52 kB / 293.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.00536, allocations: 111.4 kB / 293.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.005552, allocations: 83.61 kB / 293.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.005739, allocations: 119.6 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.864e-05/0.005828, allocations: 16.73 kB / 293.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.005979, allocations: 91.73 kB / 294 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.006091, allocations: 47.88 kB / 294.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.006109, allocations: 4 kB / 294.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.006206, allocations: 43.92 kB / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.006256, allocations: 19.94 kB / 294.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.006298, allocations: 19.88 kB / 294.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.006497, allocations: 99.59 kB / 294.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.056e-05/0.006518, allocations: 4 kB / 294.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006519, allocations: 0 / 294.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.093e-05/0.00654, allocations: 4 kB / 294.3 MB, free: 4.621 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.0005144/0.007054, allocations: 340.5 kB / 294.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.007092, allocations: 16.02 kB / 294.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.007132, allocations: 8.875 kB / 294.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.007334, allocations: 154 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.007351, allocations: 384 / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.007372, allocations: 8.359 kB / 294.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.007501, allocations: 61.77 kB / 294.8 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.007511, allocations: 7.875 kB / 294.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.007519, allocations: 4 kB / 294.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.007525, allocations: 4 kB / 294.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.914e-05/0.007554, allocations: 4 kB / 294.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.007788, allocations: 170 kB / 295 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.00791, allocations: 81.3 kB / 295.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.007934, allocations: 12.84 kB / 295.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.007948, allocations: 4 kB / 295.1 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.008073, allocations: 74.08 kB / 295.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.008075, allocations: 0 / 295.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003625/0.008437, allocations: 121.7 kB / 295.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.008472, allocations: 51.41 kB / 295.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.008644, allocations: 185 kB / 295.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.00866, allocations: 29.7 kB / 295.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.008699, allocations: 96.11 kB / 295.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.008732, allocations: 27.77 kB / 295.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.008774, allocations: 17.72 kB / 295.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.008876, allocations: 326.8 kB / 296 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.008901, allocations: 14.81 kB / 296.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.008929, allocations: 25.7 kB / 296.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.219e-05/0.008982, allocations: 48.45 kB / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.008983, allocations: 0 / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001068/0.00909, allocations: 76.36 kB / 296.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.009105, allocations: 8 kB / 296.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.00911, allocations: 0 / 296.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.00912, allocations: 0 / 296.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.339e-05/0.009213, allocations: 19.98 kB / 296.2 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.009216, allocations: 0 / 296.2 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.009254, allocations: 4 kB / 296.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.009262, allocations: 4 kB / 296.2 MB, free: 2.473 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.225e-05/0.009334, allocations: 120.6 kB / 296.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.009354, allocations: 15.92 kB / 296.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.009564, allocations: 75.08 kB / 296.4 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.009567, allocations: 3.984 kB / 296.4 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.00957, allocations: 0 / 296.4 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.009573, allocations: 0 / 296.4 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.009853, allocations: 303.5 kB / 296.7 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.009856, allocations: 0 / 296.7 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.009895, allocations: 12 kB / 296.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.00991, allocations: 15.97 kB / 296.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.009914, allocations: 3.938 kB / 296.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.00992, allocations: 0 / 296.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.009922, allocations: 4 kB / 296.8 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.009924, allocations: 0 / 296.8 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.01005, allocations: 215.1 kB / 297 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.01007, allocations: 11.92 kB / 297 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.371e-05/0.01013, allocations: 4 kB / 297 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.01016, allocations: 7.984 kB / 297 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.01018, allocations: 4 kB / 297 MB, free: 1.629 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.949e-05/0.01024, allocations: 57.61 kB / 297.1 MB, free: 1.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01024, allocations: 4 kB / 297.1 MB, free: 1.566 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002091/0.01045, allocations: 23.94 kB / 297.1 MB, free: 1.543 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001845/0.0123, allocations: 0.6426 MB / 297.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.01242, allocations: 40.72 kB / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/0.01244, allocations: 8 kB / 297.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.483e-05/0.01247, allocations: 20.8 kB / 297.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.01272, allocations: 50.64 kB / 297.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.01329, allocations: 234.4 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.948e-05/0.01334, allocations: 71.28 kB / 298.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.867e-05/0.01339, allocations: 21.39 kB / 298.2 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.099e-05/0.01347, allocations: 71.36 kB / 298.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01347, allocations: 0 / 298.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of Templates: time 0.004725/0.0182, allocations: 2.057 MB / 300.3 MB, free: 14.67 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.280739661306143]