Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001878/0.001878, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002149/0.002149, allocations: 215.1 kB / 24.48 MB, free: 3.84 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.504/1.504, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2187/0.2187, allocations: 44.94 MB / 359.6 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 69.92 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3698, allocations: 65.46 MB / 0.5582 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.00354/0.3733, allocations: 1.665 MB / 0.5598 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3745, allocations: 0.531 MB / 0.5604 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.3746, allocations: 0 / 0.5604 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.3749, allocations: 47.75 kB / 0.5604 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.3752, allocations: 99.53 kB / 0.5605 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.3756, allocations: 143.2 kB / 0.5606 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.3758, allocations: 79.83 kB / 0.5607 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3759, allocations: 12.23 kB / 0.5607 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.376, allocations: 39.83 kB / 0.5608 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3761, allocations: 35.84 kB / 0.5608 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3761, allocations: 11.88 kB / 0.5608 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.3762, allocations: 55.97 kB / 0.5609 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.3763, allocations: 15.98 kB / 0.5609 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.3763, allocations: 31.73 kB / 0.5609 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3765, allocations: 110 kB / 0.561 GB, free: 4.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3765, allocations: 0 / 0.561 GB, free: 4.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3766, allocations: 0 / 0.561 GB, free: 4.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3766, allocations: 0 / 0.561 GB, free: 4.586 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005971/0.3772, allocations: 341.6 kB / 0.5613 GB, free: 4.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3772, allocations: 12.02 kB / 0.5613 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.3773, allocations: 16.89 kB / 0.5614 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.3775, allocations: 142 kB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3775, allocations: 8.375 kB / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.3775, allocations: 3.938 kB / 0.5615 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.3777, allocations: 69.66 kB / 0.5616 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3777, allocations: 0 / 0.5616 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.3777, allocations: 0 / 0.5616 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3777, allocations: 0 / 0.5616 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.3779, allocations: 43.91 kB / 0.5616 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.3783, allocations: 240.4 kB / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.3786, allocations: 58.56 kB / 0.5619 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.3787, allocations: 28.97 kB / 0.5619 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3787, allocations: 4 kB / 0.5619 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.3787, allocations: 30.56 kB / 0.562 GB, free: 3.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3787, allocations: 0 / 0.562 GB, free: 3.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001472/0.3802, allocations: 397 kB / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.3802, allocations: 51.41 kB / 0.5624 GB, free: 3.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.3804, allocations: 180 kB / 0.5626 GB, free: 2.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.3805, allocations: 33.7 kB / 0.5626 GB, free: 2.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.3805, allocations: 96.12 kB / 0.5627 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.3806, allocations: 43.62 kB / 0.5627 GB, free: 2.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.3806, allocations: 21.72 kB / 0.5627 GB, free: 2.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3808, allocations: 322.8 kB / 0.5631 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3809, allocations: 43.97 kB / 0.5631 GB, free: 2.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.3811, allocations: 47.89 kB / 0.5631 GB, free: 2.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.3813, allocations: 100.8 kB / 0.5632 GB, free: 2.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3813, allocations: 3.938 kB / 0.5632 GB, free: 2.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003423/0.3817, allocations: 146 kB / 0.5634 GB, free: 1.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3817, allocations: 6.5 kB / 0.5634 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3817, allocations: 0 / 0.5634 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3817, allocations: 7.938 kB / 0.5634 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.3818, allocations: 27.92 kB / 0.5634 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3818, allocations: 7.984 kB / 0.5634 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.3819, allocations: 15.98 kB / 0.5634 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3819, allocations: 4 kB / 0.5634 GB, free: 1.914 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001257/0.382, allocations: 125.8 kB / 0.5636 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.3821, allocations: 7.953 kB / 0.5636 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.3825, allocations: 166.2 kB / 0.5637 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3825, allocations: 7.938 kB / 0.5637 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3825, allocations: 3.938 kB / 0.5637 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3825, allocations: 0 / 0.5637 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007552/0.3833, allocations: 395.8 kB / 0.5641 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3833, allocations: 64 / 0.5641 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.3834, allocations: 35.91 kB / 0.5642 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3834, allocations: 0 / 0.5642 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.3834, allocations: 8 kB / 0.5642 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3834, allocations: 0 / 0.5642 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3834, allocations: 0 / 0.5642 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.3838, allocations: 253.5 kB / 0.5644 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.3838, allocations: 7.953 kB / 0.5644 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.3838, allocations: 12 kB / 0.5644 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.189e-05/0.3839, allocations: 11.92 kB / 0.5644 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.384, allocations: 7.984 kB / 0.5644 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.384, allocations: 8 kB / 0.5645 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.3841, allocations: 134.9 kB / 0.5646 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3841, allocations: 0 / 0.5646 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.3844, allocations: 27.92 kB / 0.5646 GB, free: 0.6445 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001885/0.3863, allocations: 493.4 kB / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003392/0.3866, allocations: 107.8 kB / 0.5652 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3866, allocations: 0 / 0.5652 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.3868, allocations: 59.89 kB / 0.5652 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3871, allocations: 20.14 kB / 0.5653 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.3878, allocations: 304.2 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.3879, allocations: 88.31 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.388, allocations: 23.42 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.388, allocations: 0 / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Templates: time 0.004153/0.3921, allocations: 1.932 MB / 0.5675 GB, free: 13.79 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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: 8.06221535615623]