Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001029/0.001029, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.0009719/0.0009719, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1849/0.1849, allocations: 32.37 MB / 270.7 MB, free: 14.88 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 347.7 MB, free: 9.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.05e-05/4.272e-05, allocations: 10.25 kB / 347.8 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003/0.003043, allocations: 1.728 MB / 349.5 MB, free: 7.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.004252, allocations: 0.7882 MB / 350.3 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.004376, allocations: 3.938 kB / 350.3 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004505/0.004827, allocations: 35.77 kB / 350.3 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.005111, allocations: 47.77 kB / 350.4 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.005401, allocations: 95.69 kB / 350.4 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.005593, allocations: 95.64 kB / 350.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.005733, allocations: 12.2 kB / 350.6 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.904e-05/0.005832, allocations: 55.78 kB / 350.6 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.471e-05/0.005926, allocations: 19.92 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.005951, allocations: 4 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.006062, allocations: 43.91 kB / 350.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.55e-05/0.006128, allocations: 27.92 kB / 350.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.006182, allocations: 15.94 kB / 350.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.006426, allocations: 87.66 kB / 350.8 MB, free: 6.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.006431, allocations: 4 kB / 350.8 MB, free: 6.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.006434, allocations: 0 / 350.8 MB, free: 6.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.006442, allocations: 0 / 350.8 MB, free: 6.633 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.0005888/0.007031, allocations: 436 kB / 351.2 MB, free: 6.172 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.007093, allocations: 11.97 kB / 351.2 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.007167, allocations: 12.89 kB / 351.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.007389, allocations: 145 kB / 351.4 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.00742, allocations: 8.375 kB / 351.4 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.007448, allocations: 384 / 351.4 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.007629, allocations: 70.3 kB / 351.5 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.007642, allocations: 4 kB / 351.5 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.007653, allocations: 0 / 351.5 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.007662, allocations: 0 / 351.5 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.285e-05/0.007705, allocations: 11.98 kB / 351.5 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.008102, allocations: 287.7 kB / 351.8 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.008253, allocations: 55.17 kB / 351.8 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.008286, allocations: 11.69 kB / 351.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.008306, allocations: 0 / 351.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.008443, allocations: 72.98 kB / 351.9 MB, free: 5.395 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.008445, allocations: 4 kB / 351.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005226/0.008967, allocations: 157.3 kB / 352.1 MB, free: 5.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.009008, allocations: 51.41 kB / 352.1 MB, free: 5.168 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.009135, allocations: 209.8 kB / 352.3 MB, free: 4.945 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.00915, allocations: 29.7 kB / 352.3 MB, free: 4.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.009202, allocations: 142.9 kB / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.009237, allocations: 31.77 kB / 352.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.009279, allocations: 23.38 kB / 352.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.233e-05/0.009352, allocations: 0.5 MB / 353 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.542e-05/0.009387, allocations: 12.36 kB / 353.1 MB, free: 4.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.009426, allocations: 39.36 kB / 353.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.051e-05/0.009486, allocations: 47.31 kB / 353.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009488, allocations: 4 kB / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001208/0.009609, allocations: 81.64 kB / 353.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.009628, allocations: 8 kB / 353.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.009636, allocations: 7.922 kB / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.009656, allocations: 3.938 kB / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.009771, allocations: 16 kB / 353.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.009779, allocations: 4.031 kB / 353.3 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.009819, allocations: 7.938 kB / 353.3 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.009827, allocations: 4 kB / 353.3 MB, free: 3.938 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 8.394e-05/0.009911, allocations: 164.6 kB / 353.4 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.009929, allocations: 11.91 kB / 353.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.01013, allocations: 110.5 kB / 353.6 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01014, allocations: 0 / 353.6 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.01014, allocations: 0 / 353.6 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.01015, allocations: 0 / 353.6 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.01049, allocations: 385 kB / 353.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.01049, allocations: 8.031 kB / 353.9 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.01053, allocations: 8 kB / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01053, allocations: 0 / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.01054, allocations: 0 / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.01055, allocations: 11.88 kB / 354 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01055, allocations: 0 / 354 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.01069, allocations: 255.5 kB / 354.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.0107, allocations: 11.94 kB / 354.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.01073, allocations: 4 kB / 354.2 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.963e-05/0.01078, allocations: 7.938 kB / 354.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.01083, allocations: 7.984 kB / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.01085, allocations: 4 kB / 354.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.11e-05/0.01091, allocations: 155.2 kB / 354.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01091, allocations: 4 kB / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.01111, allocations: 23.94 kB / 354.4 MB, free: 2.703 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.001011/0.01212, allocations: 441.6 kB / 354.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.0123, allocations: 59.47 kB / 354.9 MB, free: 2.297 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.01231, allocations: 0 / 354.9 MB, free: 2.297 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.887e-05/0.01235, allocations: 43.66 kB / 355 MB, free: 2.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.01265, allocations: 27.84 kB / 355 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.01312, allocations: 209.3 kB / 355.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.348e-05/0.01316, allocations: 67.33 kB / 355.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.305e-05/0.01321, allocations: 12.48 kB / 355.3 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.01324, allocations: 20.48 kB / 355.3 MB, free: 1.867 MB / 282.7 MB Notification: Performance of SimCode: time 1.863e-06/0.01325, allocations: 64 / 355.3 MB, free: 1.867 MB / 282.7 MB Notification: Performance of Templates: time 0.005041/0.01829, allocations: 1.831 MB / 357.1 MB, free: 60 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.6423304539639503]