Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001396/0.001396, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001477/0.001477, allocations: 168.7 kB / 25.61 MB, free: 8.582 MB / 18.57 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.923/0.923, allocations: 177.1 MB / 206 MB, free: 4.48 MB / 186.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.158/0.158, allocations: 34.26 MB / 296.8 MB, free: 13.95 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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.673e-05, allocations: 5.969 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002509/0.002526, allocations: 1.63 MB / 380.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008417/0.003368, allocations: 0.553 MB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.00342, allocations: 0 / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.003568, allocations: 27.78 kB / 381.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.003802, allocations: 75.56 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.00407, allocations: 123.6 kB / 381.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.00419, allocations: 67.78 kB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.727e-05/0.004247, allocations: 15.84 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.277e-05/0.0043, allocations: 35.84 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.739e-05/0.004357, allocations: 23.97 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.00437, allocations: 4 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.004513, allocations: 103.7 kB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.097e-05/0.004544, allocations: 15.92 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.004567, allocations: 11.98 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.004758, allocations: 135.5 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.00476, allocations: 0 / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004761, allocations: 4 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.004764, allocations: 0 / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002542/0.005018, allocations: 439.9 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.461e-05/0.005042, allocations: 8.031 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.005072, allocations: 8.891 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.515e-05/0.005167, allocations: 136.5 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-06/0.005173, allocations: 4.375 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.005187, allocations: 4.375 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.097e-05/0.005268, allocations: 100 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.005275, allocations: 192 / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.005282, allocations: 8.125 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.005285, allocations: 4 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.336e-05/0.005309, allocations: 11.92 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.005529, allocations: 260.4 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.914e-05/0.005578, allocations: 39.05 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.005596, allocations: 19.61 kB / 383.1 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.005607, allocations: 0 / 383.1 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.005621, allocations: 45.47 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.005622, allocations: 0 / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002704/0.005892, allocations: 105.4 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.005912, allocations: 85.09 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.006005, allocations: 195.6 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-06/0.006011, allocations: 25.7 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.006042, allocations: 142.8 kB / 383.7 MB, free: 18.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.00606, allocations: 27.78 kB / 383.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.006095, allocations: 27.38 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.358e-05/0.006139, allocations: 0.4884 MB / 384.3 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.006156, allocations: 11.98 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.00619, allocations: 57.12 kB / 384.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.477e-05/0.006235, allocations: 35.64 kB / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.006236, allocations: 0 / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.151e-05/0.006327, allocations: 65.58 kB / 384.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.006337, allocations: 9.406 kB / 384.4 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.00634, allocations: 0 / 384.4 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.612e-06/0.006346, allocations: 0 / 384.4 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.006417, allocations: 19.98 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-06/0.006419, allocations: 0 / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.00645, allocations: 4 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.006456, allocations: 288 / 384.5 MB, free: 18 MB / 314.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 4.59e-05/0.006502, allocations: 172.5 kB / 384.6 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.006537, allocations: 11.89 kB / 384.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.006643, allocations: 82.33 kB / 384.7 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.006645, allocations: 0 / 384.7 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.006647, allocations: 4 kB / 384.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.00665, allocations: 0 / 384.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.006901, allocations: 321.9 kB / 385 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006902, allocations: 0 / 385 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.546e-05/0.006947, allocations: 12 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006949, allocations: 3.984 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.006955, allocations: 12 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006956, allocations: 0 / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006957, allocations: 0 / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.529e-05/0.007052, allocations: 216.1 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.007063, allocations: 11.95 kB / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.007077, allocations: 0 / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.007139, allocations: 11.98 kB / 385.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.851e-05/0.007158, allocations: 0 / 385.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.007162, allocations: 4 kB / 385.3 MB, free: 17.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.35e-05/0.007205, allocations: 149.5 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007206, allocations: 0 / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003177/0.007523, allocations: 51.86 kB / 385.5 MB, free: 16.89 MB / 314.7 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.001077/0.0086, allocations: 494.2 kB / 386 MB, free: 16.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.761e-05/0.008668, allocations: 43.59 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.008669, allocations: 0 / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.748e-05/0.008687, allocations: 23.83 kB / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.008859, allocations: 33.02 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.009047, allocations: 180.2 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.277e-05/0.00907, allocations: 64.2 kB / 386.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.164e-05/0.009101, allocations: 12.72 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.00915, allocations: 94.19 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009151, allocations: 4 kB / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of Templates: time 0.002794/0.01195, allocations: 2.256 MB / 388.7 MB, free: 13.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.01436361996457]