Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001752/0.001752, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002168/0.002168, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.67/1.67, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2469/0.2469, allocations: 46.95 MB / 360.9 MB, free: 4.027 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 63.91 kB / 0.4966 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3553, allocations: 66.03 MB / 0.5611 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003855/0.3591, allocations: 1.649 MB / 0.5627 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3603, allocations: 0.5661 MB / 0.5633 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.3604, allocations: 3.938 kB / 0.5633 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006087/0.361, allocations: 447.1 kB / 0.5637 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005244/0.3615, allocations: 299.3 kB / 0.564 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.362, allocations: 183 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.3623, allocations: 183.6 kB / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.3625, allocations: 8 kB / 0.5643 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.3626, allocations: 111.8 kB / 0.5644 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.3629, allocations: 255.4 kB / 0.5647 GB, free: 460 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.363, allocations: 4 kB / 0.5647 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-05/0.3631, allocations: 43.97 kB / 0.5647 GB, free: 412 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.3632, allocations: 83.69 kB / 0.5648 GB, free: 328 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.3633, allocations: 67.25 kB / 0.5649 GB, free: 260 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.3637, allocations: 277 kB / 0.5651 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3637, allocations: 0 / 0.5651 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3637, allocations: 0 / 0.5651 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3637, allocations: 0 / 0.5651 GB, free: 15.99 MB / 414.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.0008364/0.3645, allocations: 0.5893 MB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3646, allocations: 8.031 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.181e-05/0.3646, allocations: 52.59 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.365, allocations: 246.8 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.365, allocations: 384 / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.365, allocations: 8.359 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.3652, allocations: 61.8 kB / 0.5661 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3652, allocations: 0 / 0.5661 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3652, allocations: 0 / 0.5661 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3652, allocations: 4 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.3654, allocations: 39.91 kB / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.366, allocations: 348.4 kB / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.3661, allocations: 50.48 kB / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.3662, allocations: 24.94 kB / 0.5665 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.3662, allocations: 4 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.3662, allocations: 34.5 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.3662, allocations: 0 / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009375/0.3672, allocations: 324.8 kB / 0.5669 GB, free: 14.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.3672, allocations: 51.41 kB / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009487/0.3682, allocations: 0.8691 MB / 0.5678 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3682, allocations: 29.64 kB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.3684, allocations: 212.1 kB / 0.568 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.3684, allocations: 27.78 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.3685, allocations: 17.72 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.3687, allocations: 370.7 kB / 0.5684 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.3688, allocations: 35.97 kB / 0.5684 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.3689, allocations: 35.97 kB / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.3691, allocations: 88.78 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3691, allocations: 0 / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000332/0.3695, allocations: 173.3 kB / 0.5687 GB, free: 12.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3695, allocations: 8 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3695, allocations: 0 / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3695, allocations: 0 / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.3696, allocations: 23.97 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3697, allocations: 0 / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.43e-05/0.3697, allocations: 11.98 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3697, allocations: 8 kB / 0.5688 GB, free: 12.1 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 (7): * Single equations (assignments): 7 * 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.0002212/0.37, allocations: 213.7 kB / 0.569 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.37, allocations: 43.72 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.3704, allocations: 185.7 kB / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3704, allocations: 0 / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3704, allocations: 0 / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3704, allocations: 0 / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006698/0.3711, allocations: 466.1 kB / 0.5696 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3711, allocations: 4 kB / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.923e-05/0.3712, allocations: 19.92 kB / 0.5696 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3712, allocations: 0 / 0.5696 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3712, allocations: 4 kB / 0.5696 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3712, allocations: 0 / 0.5696 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3712, allocations: 3.938 kB / 0.5697 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.3716, allocations: 263.1 kB / 0.5699 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.3717, allocations: 35.72 kB / 0.5699 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.3717, allocations: 3.938 kB / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3718, allocations: 7.984 kB / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.3718, allocations: 15.88 kB / 0.57 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.3718, allocations: 0 / 0.57 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006844/0.3725, allocations: 0.655 MB / 0.5706 GB, free: 10.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3725, allocations: 0 / 0.5706 GB, free: 10.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.3728, allocations: 28 kB / 0.5706 GB, free: 10.1 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001601/0.3744, allocations: 437.1 kB / 0.571 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.3747, allocations: 87.92 kB / 0.5711 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3747, allocations: 0 / 0.5711 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3748, allocations: 47.91 kB / 0.5712 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.3752, allocations: 35.86 kB / 0.5712 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.3765, allocations: 0.8377 MB / 0.572 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.3768, allocations: 224.1 kB / 0.5722 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.354e-05/0.3768, allocations: 24.94 kB / 0.5723 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.3769, allocations: 15.44 kB / 0.5723 GB, free: 8.539 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3769, allocations: 4 kB / 0.5723 GB, free: 8.535 MB / 414.1 MB Notification: Performance of Templates: time 0.005688/0.3826, allocations: 1.842 MB / 0.5741 GB, free: 6.707 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.442226206883788]