Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001117/0.001117, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00161/0.002727, 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.001216/0.001216, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001638/0.002854, 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 0.9627/0.9627, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09224/1.055, allocations: 53.66 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.2554/0.2554, allocations: 32.79 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0251/0.2805, allocations: 12.53 MB / 289.3 MB, free: 8.676 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.879e-05, allocations: 4.844 kB / 290.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002169/0.002187, allocations: 1.803 MB / 292.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.003383, allocations: 1.015 MB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.003452, allocations: 3.906 kB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.003645, allocations: 54.19 kB / 293.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.003855, allocations: 101.4 kB / 293.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.004007, allocations: 75.67 kB / 293.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.00416, allocations: 111.6 kB / 293.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.329e-05/0.004243, allocations: 12.73 kB / 293.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.00436, allocations: 83.75 kB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.004432, allocations: 27.91 kB / 294 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.004446, allocations: 4 kB / 294 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.701e-05/0.004523, allocations: 47.91 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.004567, allocations: 27.88 kB / 294.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.004599, allocations: 15.94 kB / 294.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.004764, allocations: 115.5 kB / 294.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.607e-05/0.00478, allocations: 4 kB / 294.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.004781, allocations: 0 / 294.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.004796, allocations: 0 / 294.2 MB, free: 4.707 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.0004474/0.005243, allocations: 372.2 kB / 294.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.005273, allocations: 8.031 kB / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.005307, allocations: 16.92 kB / 294.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.005454, allocations: 145.6 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.005471, allocations: 4.375 kB / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.005487, allocations: 4.375 kB / 294.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.991e-05/0.005587, allocations: 65.75 kB / 294.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.005596, allocations: 7.938 kB / 294.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.005604, allocations: 4 kB / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.005609, allocations: 0 / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.005635, allocations: 11.94 kB / 294.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.005829, allocations: 173.8 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.049e-05/0.005919, allocations: 89.3 kB / 295.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.005937, allocations: 8.859 kB / 295.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.005949, allocations: 3.984 kB / 295.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.403e-05/0.006043, allocations: 78.12 kB / 295.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.093e-06/0.006044, allocations: 3.938 kB / 295.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000279/0.006323, allocations: 101.8 kB / 295.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.006355, allocations: 59.34 kB / 295.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.006475, allocations: 213.3 kB / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.006488, allocations: 29.69 kB / 295.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.00653, allocations: 104 kB / 295.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.006556, allocations: 27.78 kB / 295.7 MB, free: 3.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.006591, allocations: 21.7 kB / 295.7 MB, free: 3.035 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.006666, allocations: 330.8 kB / 296 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.00668, allocations: 11.02 kB / 296 MB, free: 2.691 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.006706, allocations: 33.69 kB / 296.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.006743, allocations: 36.47 kB / 296.1 MB, free: 2.609 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.006744, allocations: 0 / 296.1 MB, free: 2.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.305e-05/0.006817, allocations: 80.42 kB / 296.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.006828, allocations: 4 kB / 296.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.006833, allocations: 3.984 kB / 296.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.006841, allocations: 0 / 296.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.006904, allocations: 19.94 kB / 296.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.006907, allocations: 4.031 kB / 296.2 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.006933, allocations: 4 kB / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.00694, allocations: 3.984 kB / 296.2 MB, free: 2.484 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 6.748e-05/0.007008, allocations: 116.7 kB / 296.3 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.007021, allocations: 15.92 kB / 296.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.581e-05/0.007117, allocations: 79.08 kB / 296.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007119, allocations: 0 / 296.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.00712, allocations: 0 / 296.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.007124, allocations: 3.984 kB / 296.4 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.007321, allocations: 307.6 kB / 296.7 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.007322, allocations: 0 / 296.7 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.007348, allocations: 11.98 kB / 296.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.007361, allocations: 15.91 kB / 296.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007363, allocations: 0 / 296.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.007368, allocations: 3.938 kB / 296.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007369, allocations: 0 / 296.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.007371, allocations: 4 kB / 296.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.571e-05/0.007467, allocations: 223 kB / 297 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.007483, allocations: 8 kB / 297 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.007519, allocations: 0 / 297 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.007542, allocations: 12.02 kB / 297 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.007554, allocations: 8 kB / 297 MB, free: 1.629 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.531e-05/0.007609, allocations: 75.94 kB / 297.1 MB, free: 1.551 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007609, allocations: 0 / 297.1 MB, free: 1.551 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001403/0.007749, allocations: 27.94 kB / 297.1 MB, free: 1.523 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.001458/0.009208, allocations: 0.6412 MB / 297.8 MB, free: 1.238 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.428e-05/0.009302, allocations: 44.72 kB / 297.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.009309, allocations: 0 / 297.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.81e-05/0.009338, allocations: 24.84 kB / 297.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.009525, allocations: 55.17 kB / 297.9 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.009984, allocations: 276.3 kB / 298.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.336e-05/0.01003, allocations: 75.33 kB / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.474e-05/0.01006, allocations: 17.27 kB / 298.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.01012, allocations: 67.36 kB / 298.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01012, allocations: 0 / 298.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of Templates: time 0.003664/0.01379, allocations: 2.067 MB / 300.4 MB, free: 14.6 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.0969228288158774]