Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001696/0.001696, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001931/0.001931, allocations: 210.3 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.566/1.566, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2445/0.2445, allocations: 46.95 MB / 360.9 MB, free: 4.145 MB / 286.1 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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 67.89 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3805, allocations: 66.04 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.00373/0.3842, allocations: 1.605 MB / 0.5627 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3854, allocations: 0.5232 MB / 0.5632 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.3854, allocations: 0 / 0.5632 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.3858, allocations: 123.7 kB / 0.5633 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.3862, allocations: 123.5 kB / 0.5634 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.3865, allocations: 107.1 kB / 0.5635 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.3867, allocations: 95.78 kB / 0.5636 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3868, allocations: 14.67 kB / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.629e-05/0.3869, allocations: 55.81 kB / 0.5637 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3871, allocations: 83.77 kB / 0.5638 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3871, allocations: 4 kB / 0.5638 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3872, allocations: 43.98 kB / 0.5638 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.3873, allocations: 31.84 kB / 0.5638 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.3873, allocations: 31.8 kB / 0.5639 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.3875, allocations: 131 kB / 0.564 GB, free: 1.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3876, allocations: 4 kB / 0.564 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3876, allocations: 0 / 0.564 GB, free: 1.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.3876, allocations: 0 / 0.564 GB, free: 1.207 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006154/0.3882, allocations: 361.4 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3882, allocations: 8.031 kB / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.3883, allocations: 12.84 kB / 0.5644 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.3885, allocations: 162.4 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3885, allocations: 4.375 kB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.3885, allocations: 4.375 kB / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3887, allocations: 61.73 kB / 0.5646 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3887, allocations: 0 / 0.5646 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3887, allocations: 4 kB / 0.5646 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3887, allocations: 3.984 kB / 0.5646 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.3888, allocations: 27.98 kB / 0.5646 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.3892, allocations: 240.5 kB / 0.5648 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.3893, allocations: 46.5 kB / 0.5649 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.3893, allocations: 20.8 kB / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3893, allocations: 4 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.3894, allocations: 34.64 kB / 0.5649 GB, free: 124 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3894, allocations: 3.938 kB / 0.565 GB, free: 120 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000914/0.3903, allocations: 237.4 kB / 0.5652 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.3903, allocations: 51.41 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.3906, allocations: 275.8 kB / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3907, allocations: 29.7 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.3908, allocations: 112.1 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.3908, allocations: 31.73 kB / 0.5657 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.3908, allocations: 21.72 kB / 0.5657 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.391, allocations: 326.6 kB / 0.566 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.3911, allocations: 31.91 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.3911, allocations: 23.98 kB / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3913, allocations: 64.83 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3913, allocations: 4 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002193/0.3915, allocations: 105.6 kB / 0.5662 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3915, allocations: 4 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3915, allocations: 0 / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3916, allocations: 0 / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3917, allocations: 23.92 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3917, allocations: 0 / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.3917, allocations: 15.92 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.3917, allocations: 0 / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001207/0.3918, allocations: 135.1 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.3919, allocations: 15.91 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.3922, allocations: 123.3 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3922, allocations: 0 / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3922, allocations: 0 / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.3922, allocations: 7.938 kB / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/0.3928, allocations: 358.9 kB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3928, allocations: 3.938 kB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.573e-05/0.3929, allocations: 19.98 kB / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.3929, allocations: 0 / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3929, allocations: 11.94 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3929, allocations: 0 / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3929, allocations: 0 / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.3932, allocations: 208.2 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.3932, allocations: 15.94 kB / 0.5671 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.3933, allocations: 4.359 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.3933, allocations: 4 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.3934, allocations: 11.98 kB / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.3934, allocations: 0 / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002207/0.3936, allocations: 212.1 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3936, allocations: 0 / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.3939, allocations: 27.88 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001959/0.3958, allocations: 494.1 kB / 0.5678 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.3961, allocations: 63.89 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3961, allocations: 0 / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.234e-05/0.3962, allocations: 36.05 kB / 0.5679 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.3966, allocations: 33.19 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.3972, allocations: 316.2 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.3973, allocations: 101.1 kB / 0.5684 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.735e-05/0.3974, allocations: 20.95 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.3974, allocations: 15.44 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3974, allocations: 0 / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of Templates: time 0.00472/0.4021, allocations: 1.445 MB / 0.5698 GB, free: 11.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.317051896825433]