Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.001062/0.001062, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001261/0.001261, allocations: 165 kB / 23.8 MB, free: 0.7773 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 1.056/1.056, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1467/0.1467, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 7.938 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.967e-05, allocations: 8.219 kB / 347.8 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002523/0.002553, allocations: 1.73 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009667/0.003519, allocations: 0.7999 MB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.94e-05/0.003599, allocations: 3.938 kB / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.003937, allocations: 47.75 kB / 350.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.004158, allocations: 55.77 kB / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.004377, allocations: 91.69 kB / 350.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.004551, allocations: 95.64 kB / 350.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.004646, allocations: 8.219 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.004724, allocations: 51.83 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.004796, allocations: 19.92 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.004819, allocations: 4 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.987e-05/0.004899, allocations: 47.86 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.004956, allocations: 27.91 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.004998, allocations: 27.86 kB / 350.8 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.00517, allocations: 99.66 kB / 350.9 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.005174, allocations: 4 kB / 350.9 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.005176, allocations: 0 / 350.9 MB, free: 6.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.83e-06/0.00518, allocations: 0 / 350.9 MB, free: 6.23 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.000414/0.005594, allocations: 451.8 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.005631, allocations: 8.031 kB / 351.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.005679, allocations: 20.78 kB / 351.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.005826, allocations: 160.3 kB / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.005846, allocations: 384 / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.005866, allocations: 8.375 kB / 351.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.005986, allocations: 62.94 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.005996, allocations: 3.938 kB / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.006006, allocations: 0 / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.006014, allocations: 0 / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.176e-05/0.006046, allocations: 11.98 kB / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.006315, allocations: 295.7 kB / 351.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.006424, allocations: 51.17 kB / 351.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/0.006454, allocations: 27.59 kB / 351.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.006467, allocations: 8 kB / 351.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.319e-05/0.00656, allocations: 68.98 kB / 352 MB, free: 4.941 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.006561, allocations: 0 / 352 MB, free: 4.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000376/0.006937, allocations: 153.7 kB / 352.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.006962, allocations: 51.41 kB / 352.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.007066, allocations: 245.9 kB / 352.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.007074, allocations: 33.69 kB / 352.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.00711, allocations: 150.9 kB / 352.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.007133, allocations: 27.78 kB / 352.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.007161, allocations: 31.38 kB / 352.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.007216, allocations: 0.5001 MB / 353.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/0.007245, allocations: 15.98 kB / 353.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.007278, allocations: 31.38 kB / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.098e-05/0.007339, allocations: 59.31 kB / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.00734, allocations: 0 / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001063/0.007447, allocations: 89.58 kB / 353.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.007461, allocations: 4 kB / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007466, allocations: 0 / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.00748, allocations: 4 kB / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.125e-05/0.007561, allocations: 23.97 kB / 353.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.007566, allocations: 0 / 353.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.007596, allocations: 7.984 kB / 353.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.007602, allocations: 0 / 353.4 MB, free: 3.441 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.505e-05/0.007657, allocations: 168.5 kB / 353.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.007671, allocations: 15.91 kB / 353.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.007819, allocations: 111.2 kB / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007821, allocations: 0 / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.007825, allocations: 0 / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007829, allocations: 0 / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.008065, allocations: 401 kB / 354.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.008067, allocations: 0 / 354.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.876e-05/0.008096, allocations: 11.98 kB / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.0081, allocations: 4 kB / 354.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.008108, allocations: 0 / 354.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.00811, allocations: 0 / 354.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008111, allocations: 3.938 kB / 354.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.008216, allocations: 271.4 kB / 354.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.008234, allocations: 11.91 kB / 354.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.008252, allocations: 32 / 354.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.291e-05/0.008295, allocations: 11.98 kB / 354.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.008328, allocations: 7.984 kB / 354.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.008341, allocations: 4 kB / 354.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.829e-05/0.0084, allocations: 179.1 kB / 354.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0084, allocations: 0 / 354.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001814/0.008581, allocations: 31.92 kB / 354.6 MB, free: 2.145 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.0008855/0.009467, allocations: 438.1 kB / 355.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.009584, allocations: 59.55 kB / 355.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.009586, allocations: 0 / 355.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/0.009622, allocations: 39.59 kB / 355.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.009856, allocations: 31.97 kB / 355.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.0102, allocations: 229.8 kB / 355.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.224e-05/0.01023, allocations: 75.27 kB / 355.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.308e-05/0.01026, allocations: 20.41 kB / 355.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.01029, allocations: 20.62 kB / 355.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0103, allocations: 0 / 355.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of Templates: time 0.003749/0.01404, allocations: 1.987 MB / 357.5 MB, free: 15.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.2344773807562888]