Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.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.001143/0.001143, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001036/0.001036, allocations: 169.1 kB / 24.84 MB, free: 9.246 MB / 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 0.9507/0.9507, allocations: 158.6 MB / 186.7 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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.1403/0.1403, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.492e-05, allocations: 2.312 kB / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002059/0.002083, allocations: 1.726 MB / 350.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000869/0.002952, allocations: 0.7803 MB / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.367e-05/0.003046, allocations: 0 / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.003361, allocations: 47.7 kB / 351.5 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.003563, allocations: 47.77 kB / 351.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.003802, allocations: 95.62 kB / 351.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.00395, allocations: 95.7 kB / 351.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.004044, allocations: 4.234 kB / 351.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.004126, allocations: 55.81 kB / 351.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/0.004198, allocations: 23.92 kB / 351.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.004216, allocations: 4 kB / 351.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.581e-05/0.004292, allocations: 43.91 kB / 351.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.004343, allocations: 27.86 kB / 351.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.004378, allocations: 15.94 kB / 352 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.004547, allocations: 99.59 kB / 352.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.00455, allocations: 4 kB / 352.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.004551, allocations: 0 / 352.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.004556, allocations: 0 / 352.1 MB, free: 6.008 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.0003584/0.004915, allocations: 435.9 kB / 352.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.004949, allocations: 8.031 kB / 352.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.004987, allocations: 20.84 kB / 352.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.005117, allocations: 144.3 kB / 352.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.005134, allocations: 4.375 kB / 352.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.005151, allocations: 384 / 352.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.005252, allocations: 66.88 kB / 352.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.005264, allocations: 7.938 kB / 352.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.005271, allocations: 0 / 352.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.005277, allocations: 0 / 352.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.613e-05/0.005303, allocations: 11.98 kB / 352.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.005522, allocations: 256.4 kB / 353 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.824e-05/0.00561, allocations: 55.11 kB / 353 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.005632, allocations: 19.66 kB / 353.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.005645, allocations: 4 kB / 353.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.703e-05/0.005732, allocations: 76.97 kB / 353.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.005733, allocations: 0 / 353.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003029/0.006036, allocations: 129.5 kB / 353.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.006058, allocations: 51.41 kB / 353.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.006132, allocations: 214.9 kB / 353.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.00614, allocations: 29.69 kB / 353.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.006173, allocations: 154.8 kB / 353.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.006197, allocations: 31.77 kB / 353.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.006224, allocations: 23.38 kB / 353.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.006271, allocations: 0.4962 MB / 354.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.006289, allocations: 15.92 kB / 354.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.338e-05/0.006313, allocations: 31.38 kB / 354.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/0.006352, allocations: 43.34 kB / 354.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.006353, allocations: 0 / 354.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.745e-05/0.00645, allocations: 89.58 kB / 354.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.006464, allocations: 8 kB / 354.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.00647, allocations: 0 / 354.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.00648, allocations: 0 / 354.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.236e-05/0.006553, allocations: 15.98 kB / 354.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.006557, allocations: 4.031 kB / 354.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/0.006586, allocations: 4 kB / 354.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.006594, allocations: 8 kB / 354.5 MB, free: 3.371 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.334e-05/0.006657, allocations: 162.8 kB / 354.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.006674, allocations: 19.83 kB / 354.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.006806, allocations: 98.39 kB / 354.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.00681, allocations: 0 / 354.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.006811, allocations: 4 kB / 354.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.006817, allocations: 3.984 kB / 354.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.007051, allocations: 361.6 kB / 355.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.007053, allocations: 0 / 355.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.772e-05/0.007081, allocations: 8.375 kB / 355.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.676e-06/0.007084, allocations: 0 / 355.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.007091, allocations: 8 kB / 355.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.007092, allocations: 3.938 kB / 355.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.007094, allocations: 0 / 355.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.0072, allocations: 255.4 kB / 355.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.007211, allocations: 7.938 kB / 355.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.007229, allocations: 8 kB / 355.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.206e-05/0.007271, allocations: 0 / 355.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.007299, allocations: 12.02 kB / 355.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.007314, allocations: 4 kB / 355.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.044e-05/0.007364, allocations: 155.1 kB / 355.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007364, allocations: 0 / 355.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.007537, allocations: 27.94 kB / 355.6 MB, free: 2.18 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.0008738/0.008411, allocations: 437 kB / 356 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.008519, allocations: 55.52 kB / 356.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.00852, allocations: 0 / 356.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.375e-05/0.008554, allocations: 31.73 kB / 356.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.008794, allocations: 43.75 kB / 356.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.009084, allocations: 209.4 kB / 356.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.079e-05/0.009114, allocations: 63.34 kB / 356.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.381e-05/0.009148, allocations: 12.48 kB / 356.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.009206, allocations: 90.19 kB / 356.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009206, allocations: 64 / 356.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of Templates: time 0.003743/0.01295, allocations: 2.029 MB / 358.5 MB, free: 15.27 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/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.3204946951009333]