Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001559/0.001559, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001957/0.001957, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2536/0.2536, allocations: 46.92 MB / 360.8 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 179] 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002548/0.002548, allocations: 63.91 kB / 0.4967 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3666, allocations: 66.03 MB / 0.5612 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003684/0.3703, allocations: 1.703 MB / 0.5628 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3715, allocations: 0.5932 MB / 0.5634 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.3716, allocations: 4 kB / 0.5634 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.3719, allocations: 63.77 kB / 0.5635 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.3723, allocations: 111.6 kB / 0.5636 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.3727, allocations: 182.9 kB / 0.5637 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.3729, allocations: 95.73 kB / 0.5638 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.373, allocations: 12.22 kB / 0.5638 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.413e-05/0.3731, allocations: 51.77 kB / 0.5639 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.3733, allocations: 59.81 kB / 0.5639 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3733, allocations: 4 kB / 0.564 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.3734, allocations: 55.91 kB / 0.564 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.369e-05/0.3735, allocations: 27.92 kB / 0.564 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.088e-05/0.3735, allocations: 31.75 kB / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.3738, allocations: 129.8 kB / 0.5642 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3738, allocations: 0 / 0.5642 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3738, allocations: 0 / 0.5642 GB, free: 1.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3738, allocations: 0 / 0.5642 GB, free: 1.27 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.0006698/0.3745, allocations: 357.6 kB / 0.5645 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3745, allocations: 8.031 kB / 0.5645 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.3746, allocations: 12.89 kB / 0.5645 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.3748, allocations: 142.3 kB / 0.5647 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3748, allocations: 8.375 kB / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3748, allocations: 4.359 kB / 0.5647 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.375, allocations: 73.72 kB / 0.5648 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.375, allocations: 0 / 0.5648 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.375, allocations: 8 kB / 0.5648 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.375, allocations: 7.938 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.3751, allocations: 35.97 kB / 0.5648 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.3756, allocations: 303.7 kB / 0.5651 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.3759, allocations: 58.55 kB / 0.5652 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.152e-05/0.376, allocations: 28.95 kB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.376, allocations: 4 kB / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.376, allocations: 42.53 kB / 0.5652 GB, free: 76 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.376, allocations: 0 / 0.5652 GB, free: 76 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001508/0.3775, allocations: 429.3 kB / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3776, allocations: 59.34 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.3778, allocations: 214.3 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.3778, allocations: 25.7 kB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.3779, allocations: 104.1 kB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.3779, allocations: 39.69 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.378, allocations: 25.72 kB / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3782, allocations: 326.8 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.3783, allocations: 55.95 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.3785, allocations: 55.89 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.3788, allocations: 133 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3788, allocations: 4 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003657/0.3792, allocations: 165.5 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3792, allocations: 6.656 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3792, allocations: 0 / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3792, allocations: 4 kB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.3793, allocations: 27.92 kB / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3793, allocations: 3.938 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.3794, allocations: 11.98 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3794, allocations: 4 kB / 0.5669 GB, free: 14.36 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 (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.0001393/0.3795, allocations: 137.8 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.3796, allocations: 15.91 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.38, allocations: 183 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3801, allocations: 7.938 kB / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3801, allocations: 4 kB / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3801, allocations: 0 / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008224/0.3809, allocations: 482.9 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.3809, allocations: 4 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.381, allocations: 35.97 kB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.381, allocations: 0 / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.381, allocations: 8 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.381, allocations: 0 / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.381, allocations: 3.938 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.3816, allocations: 277.1 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.3816, allocations: 7.953 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.3816, allocations: 4.188 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3817, allocations: 15.98 kB / 0.568 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.3818, allocations: 11.92 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.3818, allocations: 4 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.3819, allocations: 172.2 kB / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3819, allocations: 0 / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004359/0.3824, allocations: 27.98 kB / 0.5682 GB, free: 12.88 MB / 414.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.001862/0.3842, allocations: 463 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.3846, allocations: 123.8 kB / 0.5688 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3846, allocations: 0 / 0.5688 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.3848, allocations: 67.89 kB / 0.5688 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.3852, allocations: 22.11 kB / 0.5688 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008193/0.386, allocations: 336.8 kB / 0.5692 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.3865, allocations: 0.7236 MB / 0.5699 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.3866, allocations: 40.44 kB / 0.5699 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.3866, allocations: 11.44 kB / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3866, allocations: 4 kB / 0.5699 GB, free: 11.23 MB / 414.1 MB Notification: Performance of Templates: time 0.005631/0.3923, allocations: 1.698 MB / 0.5716 GB, free: 9.543 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.531709344824776]