Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001326/0.001326, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.00114/0.00114, allocations: 172.4 kB / 25.61 MB, free: 8.91 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.9019/0.9019, allocations: 177.1 MB / 206 MB, free: 4.523 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.1498/0.1498, allocations: 34.25 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.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.752e-05, allocations: 3.844 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002772/0.0028, allocations: 1.622 MB / 380.9 MB, free: 21.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.004323, allocations: 1.266 MB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.00439, allocations: 0 / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.004604, allocations: 27.73 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.004918, allocations: 91.48 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.00519, allocations: 87.69 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.005336, allocations: 75.77 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.005428, allocations: 11.86 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.438e-05/0.005493, allocations: 35.89 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.005606, allocations: 23.16 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.005622, allocations: 4 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.005787, allocations: 95.81 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.005828, allocations: 15.92 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.005852, allocations: 15.92 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.006082, allocations: 127.6 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.006085, allocations: 0 / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.006086, allocations: 0 / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.006089, allocations: 4 kB / 382.8 MB, free: 19.91 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.0003588/0.006448, allocations: 431.9 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.006481, allocations: 12.03 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.006523, allocations: 12.88 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.006656, allocations: 128.5 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.006666, allocations: 4.375 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.006683, allocations: 4.312 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.006801, allocations: 104 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.00681, allocations: 192 / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.006819, allocations: 4.125 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.006825, allocations: 4 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.473e-05/0.006849, allocations: 4 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.007069, allocations: 264.3 kB / 383.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.007213, allocations: 43.11 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.007231, allocations: 11.69 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.007245, allocations: 0 / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.007264, allocations: 41.33 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.007265, allocations: 3.984 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003171/0.007582, allocations: 85.59 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.007608, allocations: 85.11 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.007708, allocations: 199.9 kB / 384.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.007714, allocations: 29.64 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.007746, allocations: 142.9 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.007766, allocations: 19.84 kB / 384.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.007799, allocations: 19.38 kB / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.064e-05/0.00784, allocations: 0.4923 MB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.007855, allocations: 7.938 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.007885, allocations: 49.06 kB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/0.007923, allocations: 27.67 kB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007924, allocations: 0 / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.005e-05/0.008014, allocations: 61.61 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.008026, allocations: 8 kB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.008031, allocations: 0 / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.008041, allocations: 0 / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.008095, allocations: 11.94 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.008097, allocations: 0 / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.008131, allocations: 11.98 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.008136, allocations: 0 / 385.1 MB, free: 17.39 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 (5): * Single equations (assignments): 5 * 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.627e-05/0.008182, allocations: 156.6 kB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.008217, allocations: 11.89 kB / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.008328, allocations: 74.06 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.00833, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.008332, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.008336, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.008592, allocations: 310.3 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.008594, allocations: 0 / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.738e-05/0.008641, allocations: 11.98 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008644, allocations: 0 / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.008651, allocations: 4 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.008652, allocations: 0 / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008653, allocations: 4 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.008759, allocations: 207.8 kB / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.00877, allocations: 7.953 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.008786, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-05/0.008847, allocations: 7.984 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.00888, allocations: 4 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.008884, allocations: 3.938 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.45e-05/0.008939, allocations: 149.2 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008939, allocations: 0 / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003101/0.009249, allocations: 31.94 kB / 386 MB, free: 16.36 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 (5): * Single equations (assignments): 5 * 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.001413/0.01066, allocations: 493.8 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.01079, allocations: 31.61 kB / 386.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01079, allocations: 0 / 386.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.01083, allocations: 27.66 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.01114, allocations: 25.02 kB / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.01154, allocations: 159.9 kB / 386.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.099e-05/0.01158, allocations: 59.22 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.846e-05/0.01163, allocations: 15.97 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.01171, allocations: 82.19 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01171, allocations: 0 / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of Templates: time 0.004536/0.01625, allocations: 2.043 MB / 389 MB, free: 13.58 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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: 2.902480950113386]