Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.0007242/0.0007242, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.001832, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007161/0.0007161, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009362/0.001652, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.933/0.933, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08236/1.015, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.2481/0.2481, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02608/0.2742, allocations: 13.11 MB / 291.5 MB, free: 7.336 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.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.11e-07/7.11e-07, allocations: 0 / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.368e-06/1.008e-05, allocations: 4.812 kB / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.001881/0.001891, allocations: 1.81 MB / 294.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.003026, allocations: 1.019 MB / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.003069, allocations: 0 / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.003187, allocations: 43.58 kB / 295.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.00337, allocations: 91.48 kB / 295.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.003522, allocations: 87.55 kB / 296 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.003628, allocations: 107.6 kB / 296.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.003667, allocations: 7.984 kB / 296.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.003752, allocations: 83.81 kB / 296.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.612e-05/0.003798, allocations: 27.91 kB / 296.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.003807, allocations: 4 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-05/0.003871, allocations: 47.86 kB / 296.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.003898, allocations: 15.92 kB / 296.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.003918, allocations: 15.94 kB / 296.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.004026, allocations: 87.69 kB / 296.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.004031, allocations: 0 / 296.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.004032, allocations: 0 / 296.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.004037, allocations: 0 / 296.4 MB, free: 2.664 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.0002726/0.004309, allocations: 329.1 kB / 296.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.208e-05/0.004331, allocations: 12.03 kB / 296.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.004356, allocations: 12.86 kB / 296.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.004476, allocations: 148.7 kB / 296.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.004487, allocations: 4.375 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.004498, allocations: 4.328 kB / 296.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.905e-05/0.004567, allocations: 65.77 kB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.004573, allocations: 3.938 kB / 296.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.004582, allocations: 7.969 kB / 296.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-06/0.004584, allocations: 0 / 296.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.004605, allocations: 12 kB / 297 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.004764, allocations: 165.9 kB / 297.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.426e-05/0.004838, allocations: 85.36 kB / 297.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.004855, allocations: 8.859 kB / 297.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.004862, allocations: 4 kB / 297.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.416e-05/0.004926, allocations: 62.16 kB / 297.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.01e-07/0.004926, allocations: 4 kB / 297.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002083/0.005135, allocations: 121.5 kB / 297.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.005153, allocations: 55.41 kB / 297.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.212e-05/0.005235, allocations: 162.9 kB / 297.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.005251, allocations: 33.64 kB / 297.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.005279, allocations: 92.11 kB / 297.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.005301, allocations: 27.83 kB / 297.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.005328, allocations: 17.72 kB / 297.8 MB, free: 1.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.005395, allocations: 322.8 kB / 298.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.00541, allocations: 10.83 kB / 298.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.005429, allocations: 25.69 kB / 298.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.005464, allocations: 40.52 kB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.005464, allocations: 4 kB / 298.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.24e-05/0.005527, allocations: 76.44 kB / 298.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.005534, allocations: 7.938 kB / 298.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-06/0.005536, allocations: 0 / 298.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.005542, allocations: 4 kB / 298.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.646e-05/0.005588, allocations: 19.92 kB / 298.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-06/0.00559, allocations: 0 / 298.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.005612, allocations: 8 kB / 298.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.005616, allocations: 0 / 298.3 MB, free: 0.5703 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 5.002e-05/0.005666, allocations: 128.6 kB / 298.4 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.005678, allocations: 11.94 kB / 298.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.608e-05/0.005754, allocations: 74.38 kB / 298.5 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.005756, allocations: 0 / 298.5 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.005757, allocations: 0 / 298.5 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.005759, allocations: 0 / 298.5 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.005931, allocations: 295.4 kB / 298.8 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005932, allocations: 0 / 298.8 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.005955, allocations: 11.98 kB / 298.8 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.005978, allocations: 16.08 kB / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.00598, allocations: 8.031 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.005985, allocations: 4 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005986, allocations: 0 / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005987, allocations: 0 / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.127e-05/0.006078, allocations: 214.8 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.00609, allocations: 3.984 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.006127, allocations: 8 kB / 299 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.00614, allocations: 3.984 kB / 299 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.006149, allocations: 4.375 kB / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.727e-05/0.006186, allocations: 41.19 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.006186, allocations: 4 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001346/0.006321, allocations: 27.98 kB / 299.1 MB, free: 15.66 MB / 298.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.001233/0.007554, allocations: 0.6438 MB / 299.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.982e-05/0.007624, allocations: 48.81 kB / 299.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.007629, allocations: 4 kB / 299.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.121e-05/0.00766, allocations: 28.78 kB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.007846, allocations: 180.9 kB / 300 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.008164, allocations: 212 kB / 300.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.008197, allocations: 71.27 kB / 300.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.013e-05/0.008227, allocations: 13.17 kB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.008283, allocations: 71.36 kB / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008283, allocations: 0 / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of Templates: time 0.002771/0.01105, allocations: 2.042 MB / 302.4 MB, free: 12.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.8513840194791555]