Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001157/0.001157, allocations: 81.97 kB / 22.21 MB, free: 2.281 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.001622/0.001622, allocations: 165.5 kB / 25.61 MB, free: 8.574 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.972/0.972, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] 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.1511/0.1511, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.272e-05, allocations: 6.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.001817/0.001829, allocations: 1.68 MB / 379 MB, free: 23.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006577/0.002487, allocations: 0.5414 MB / 379.5 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.002542, allocations: 0 / 379.5 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.002773, allocations: 99.61 kB / 379.6 MB, free: 23.24 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.002983, allocations: 115.5 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.003186, allocations: 115.6 kB / 379.8 MB, free: 23.01 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.003318, allocations: 103.7 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.003421, allocations: 15.98 kB / 379.9 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.00348, allocations: 63.88 kB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/0.003563, allocations: 59.86 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.003579, allocations: 4 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7e-05/0.003649, allocations: 43.92 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.003693, allocations: 39.78 kB / 380.1 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.003719, allocations: 19.92 kB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.003879, allocations: 111.6 kB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003881, allocations: 0 / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.003881, allocations: 0 / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.003886, allocations: 0 / 380.3 MB, free: 22.56 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003926/0.004279, allocations: 471.7 kB / 380.7 MB, free: 22.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.004321, allocations: 11.98 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.004363, allocations: 24.78 kB / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.004498, allocations: 152.4 kB / 380.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.004509, allocations: 4.375 kB / 380.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.004531, allocations: 8.375 kB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.004657, allocations: 70.92 kB / 381 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.004671, allocations: 4.188 kB / 381 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.004682, allocations: 4.125 kB / 381 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.004692, allocations: 3.984 kB / 381 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.14e-05/0.004753, allocations: 23.92 kB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.005001, allocations: 308.2 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.391e-05/0.005055, allocations: 54.92 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.005073, allocations: 15.69 kB / 381.4 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.005093, allocations: 0 / 381.4 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.005107, allocations: 37.39 kB / 381.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 7.22e-07/0.005108, allocations: 0 / 381.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.000441/0.005549, allocations: 225.9 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.005568, allocations: 55.41 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-05/0.005667, allocations: 243.5 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.005676, allocations: 25.7 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.005723, allocations: 166.8 kB / 382.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.005758, allocations: 47.55 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.005794, allocations: 35.34 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.005846, allocations: 0.5078 MB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.005864, allocations: 15.98 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.005882, allocations: 11.98 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.419e-05/0.005927, allocations: 47.44 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.005927, allocations: 4 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.948e-05/0.006017, allocations: 105.5 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.006029, allocations: 4 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.006034, allocations: 0 / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.006044, allocations: 4 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.006117, allocations: 23.98 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.006121, allocations: 0 / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.006142, allocations: 4 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.006149, allocations: 4 kB / 383 MB, free: 19.68 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 (13): * Single equations (assignments): 13 * 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 5.481e-05/0.006204, allocations: 172.4 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.006228, allocations: 19.91 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.006364, allocations: 107.1 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.006368, allocations: 4 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.006371, allocations: 3.984 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.006375, allocations: 4 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.006646, allocations: 393.5 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.006649, allocations: 3.984 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-05/0.006731, allocations: 23.94 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.006733, allocations: 0 / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.006742, allocations: 19.95 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006743, allocations: 0 / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.006745, allocations: 3.938 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.006851, allocations: 251.5 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.006862, allocations: 15.89 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.006875, allocations: 4 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.359e-05/0.006909, allocations: 7.938 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.006939, allocations: 11.92 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.006947, allocations: 11.98 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.958e-05/0.006997, allocations: 173.6 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006997, allocations: 0 / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.007164, allocations: 31.94 kB / 384.2 MB, free: 18.36 MB / 314.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 (13): * Single equations (assignments): 13 * 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.0007918/0.007956, allocations: 426.4 kB / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.978e-05/0.008046, allocations: 59.58 kB / 384.7 MB, free: 18.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.008047, allocations: 0 / 384.7 MB, free: 18.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.008077, allocations: 39.61 kB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.008278, allocations: 30.77 kB / 384.7 MB, free: 17.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.008563, allocations: 286.5 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.008595, allocations: 79.19 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.741e-05/0.008633, allocations: 20.48 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.008683, allocations: 86.19 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008683, allocations: 0 / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of Templates: time 0.002893/0.01158, allocations: 1.807 MB / 387 MB, free: 15.7 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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.2346161669120193]