Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001381/0.001381, allocations: 107.1 kB / 20.44 MB, free: 1.328 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.002349/0.002349, allocations: 205.3 kB / 23.72 MB, free: 4.5 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2304/0.2304, allocations: 44.95 MB / 358.9 MB, free: 6.031 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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [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.002123/0.002123, allocations: 67.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3509, allocations: 65.48 MB / 0.5575 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00349/0.3544, allocations: 2.021 MB / 0.5594 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.3572, allocations: 1.35 MB / 0.5608 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.3573, allocations: 7.938 kB / 0.5608 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.3576, allocations: 59.5 kB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005125/0.3581, allocations: 223 kB / 0.561 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.3594, allocations: 0.6224 MB / 0.5616 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.3599, allocations: 358.8 kB / 0.562 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.3601, allocations: 52.7 kB / 0.562 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.3603, allocations: 151.4 kB / 0.5622 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.3607, allocations: 223.1 kB / 0.5624 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.3608, allocations: 12 kB / 0.5624 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.3609, allocations: 63.98 kB / 0.5625 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.3611, allocations: 155.4 kB / 0.5626 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.3613, allocations: 138.9 kB / 0.5628 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.3618, allocations: 424.4 kB / 0.5632 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3618, allocations: 0 / 0.5632 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3618, allocations: 0 / 0.5632 GB, free: 1.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3619, allocations: 3.984 kB / 0.5632 GB, free: 1.652 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001253/0.3631, allocations: 0.7544 MB / 0.5639 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3632, allocations: 8.031 kB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004332/0.3636, allocations: 96.47 kB / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007831/0.3644, allocations: 423.2 kB / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3644, allocations: 8.375 kB / 0.5644 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.3644, allocations: 16.08 kB / 0.5644 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.3648, allocations: 172.8 kB / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3648, allocations: 0 / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.3648, allocations: 4 kB / 0.5646 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.3649, allocations: 4 kB / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.3652, allocations: 111.9 kB / 0.5647 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.3664, allocations: 0.629 MB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.3668, allocations: 125.2 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.3669, allocations: 61.81 kB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.3669, allocations: 7.984 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.367, allocations: 38.5 kB / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.367, allocations: 0 / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002374/0.3694, allocations: 0.7646 MB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.3694, allocations: 81.11 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3706, allocations: 0.9025 MB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.3706, allocations: 29.7 kB / 0.5673 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.3709, allocations: 272.6 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.3709, allocations: 63.44 kB / 0.5676 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.244e-05/0.371, allocations: 45.62 kB / 0.5676 GB, free: 12.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.3712, allocations: 374.7 kB / 0.568 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.3716, allocations: 119.9 kB / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.3719, allocations: 125.6 kB / 0.5682 GB, free: 12.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006095/0.3725, allocations: 253.5 kB / 0.5685 GB, free: 12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3725, allocations: 3.938 kB / 0.5685 GB, free: 11.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007855/0.3733, allocations: 341.2 kB / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3733, allocations: 7.984 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3733, allocations: 0.75 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3733, allocations: 8 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.3736, allocations: 55.89 kB / 0.5689 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.3736, allocations: 4 kB / 0.5689 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.3738, allocations: 19.97 kB / 0.5689 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.3738, allocations: 8 kB / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002624/0.3741, allocations: 221.6 kB / 0.5691 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.3742, allocations: 71.56 kB / 0.5692 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009604/0.3752, allocations: 390.3 kB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.3752, allocations: 4 kB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3752, allocations: 0 / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3752, allocations: 0 / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.3768, allocations: 0.8567 MB / 0.5704 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3768, allocations: 0 / 0.5704 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.377, allocations: 51.95 kB / 0.5704 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.377, allocations: 3.984 kB / 0.5704 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.377, allocations: 12.09 kB / 0.5705 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.377, allocations: 3.938 kB / 0.5705 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.377, allocations: 0 / 0.5705 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009094/0.378, allocations: 0.5161 MB / 0.571 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.3781, allocations: 67.61 kB / 0.571 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.3782, allocations: 0 / 0.571 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.3784, allocations: 27.97 kB / 0.5711 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.3785, allocations: 23.91 kB / 0.5711 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.3785, allocations: 11.92 kB / 0.5711 GB, free: 9.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008303/0.3793, allocations: 0.663 MB / 0.5717 GB, free: 8.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3793, allocations: 0 / 0.5717 GB, free: 8.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003872/0.3797, allocations: 63.94 kB / 0.5718 GB, free: 8.516 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 (20): * Single equations (assignments): 20 * 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.001693/0.3814, allocations: 433.4 kB / 0.5722 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007367/0.3822, allocations: 255.8 kB / 0.5725 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3822, allocations: 0 / 0.5725 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.3825, allocations: 139.8 kB / 0.5726 GB, free: 7.883 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006233/0.3831, allocations: 81.64 kB / 0.5727 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.3848, allocations: 1.017 MB / 0.5737 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3852, allocations: 295.4 kB / 0.5739 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000255/0.3854, allocations: 103.2 kB / 0.574 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.3856, allocations: 51.39 kB / 0.5741 GB, free: 6.293 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3856, allocations: 4 kB / 0.5741 GB, free: 6.289 MB / 414.1 MB Notification: Performance of Templates: time 0.01164/0.3972, allocations: 5.014 MB / 0.579 GB, free: 1.312 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.332917116582394]