Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001101/0.001101, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001896/0.002997, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001259/0.001259, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001725/0.002984, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.971/0.971, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09334/1.064, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.2311/0.2311, allocations: 34.25 MB / 278.4 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02374/0.2549, allocations: 13.11 MB / 291.5 MB, free: 7.344 MB / 282.7 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.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.796e-05, allocations: 8.172 kB / 292.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002632/0.00265, allocations: 1.693 MB / 294.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.004569, allocations: 0.5608 MB / 295.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.004621, allocations: 0 / 295.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.004819, allocations: 87.58 kB / 295.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.005042, allocations: 107.5 kB / 295.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.005345, allocations: 123.5 kB / 295.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.005495, allocations: 83.77 kB / 295.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.927e-05/0.005574, allocations: 19.91 kB / 295.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.005684, allocations: 63.88 kB / 295.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.311e-05/0.005777, allocations: 43.89 kB / 295.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.00579, allocations: 0 / 295.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.529e-05/0.005886, allocations: 47.88 kB / 295.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.00593, allocations: 23.92 kB / 295.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.005957, allocations: 11.94 kB / 295.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.006113, allocations: 91.61 kB / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.006125, allocations: 0 / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006125, allocations: 0 / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.006134, allocations: 0 / 295.8 MB, free: 3.219 MB / 282.7 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.0004456/0.00658, allocations: 333.1 kB / 296.1 MB, free: 2.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.006616, allocations: 8.031 kB / 296.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.006658, allocations: 8.922 kB / 296.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.006837, allocations: 142.2 kB / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.006852, allocations: 8.375 kB / 296.3 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.006878, allocations: 4.328 kB / 296.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.00699, allocations: 58.95 kB / 296.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.007, allocations: 4.125 kB / 296.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.007008, allocations: 8.125 kB / 296.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.007014, allocations: 0 / 296.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.582e-05/0.00704, allocations: 7.984 kB / 296.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.007301, allocations: 183 kB / 296.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.855e-05/0.00736, allocations: 33.33 kB / 296.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.007377, allocations: 8.859 kB / 296.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.007394, allocations: 0 / 296.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.007419, allocations: 38.5 kB / 296.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.007419, allocations: 4 kB / 296.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005096/0.007929, allocations: 141.6 kB / 296.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.007956, allocations: 55.41 kB / 296.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.008115, allocations: 185.5 kB / 297 MB, free: 1.883 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.008129, allocations: 25.7 kB / 297 MB, free: 1.852 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.008175, allocations: 96.06 kB / 297.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.008208, allocations: 31.73 kB / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.008252, allocations: 21.7 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.008354, allocations: 322.8 kB / 297.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.008376, allocations: 15.98 kB / 297.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.008394, allocations: 7.938 kB / 297.5 MB, free: 1.348 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.895e-05/0.008443, allocations: 31.66 kB / 297.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.008444, allocations: 0 / 297.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.463e-05/0.008529, allocations: 57.61 kB / 297.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.008543, allocations: 8 kB / 297.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.008548, allocations: 4 kB / 297.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.00856, allocations: 0 / 297.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.877e-05/0.008639, allocations: 16.41 kB / 297.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.008644, allocations: 7.938 kB / 297.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.008669, allocations: 8 kB / 297.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.008677, allocations: 4 kB / 297.7 MB, free: 1.203 MB / 282.7 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 6.436e-05/0.008741, allocations: 108.7 kB / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.00877, allocations: 11.92 kB / 297.8 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.008894, allocations: 79.44 kB / 297.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.008897, allocations: 3.984 kB / 297.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.008899, allocations: 0 / 297.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.008902, allocations: 3.938 kB / 297.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.009199, allocations: 255.6 kB / 298.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.009201, allocations: 4.031 kB / 298.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.009257, allocations: 19.92 kB / 298.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.405e-05/0.009271, allocations: 15.91 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.009274, allocations: 0 / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.009281, allocations: 4 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.009283, allocations: 0 / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.009284, allocations: 0 / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.009392, allocations: 164.3 kB / 298.3 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.009407, allocations: 7.984 kB / 298.3 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.657e-05/0.009464, allocations: 0 / 298.3 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.009493, allocations: 11.92 kB / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.009498, allocations: 8 kB / 298.3 MB, free: 464 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.386e-05/0.009552, allocations: 44.16 kB / 298.4 MB, free: 416 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009552, allocations: 0 / 298.4 MB, free: 416 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.009767, allocations: 27.92 kB / 298.4 MB, free: 388 kB / 282.7 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.001845/0.01161, allocations: 0.6217 MB / 299 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.01172, allocations: 44.7 kB / 299.1 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.01173, allocations: 0 / 299.1 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.661e-05/0.01177, allocations: 32.78 kB / 299.1 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.01205, allocations: 83.23 kB / 299.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.01259, allocations: 239.7 kB / 299.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.221e-05/0.01264, allocations: 67.34 kB / 299.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.577e-05/0.01269, allocations: 16.7 kB / 299.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.01275, allocations: 55.38 kB / 299.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01275, allocations: 0 / 299.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of Templates: time 0.003877/0.01663, allocations: 1.552 MB / 301.1 MB, free: 13.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8382144263014197]