Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.000961/0.000961, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001109/0.001109, allocations: 170.7 kB / 25.61 MB, free: 8.895 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.9432/0.9432, allocations: 177.2 MB / 206.1 MB, free: 4.512 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.1414/0.1414, allocations: 34.26 MB / 296.9 MB, free: 13.94 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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.586e-05, allocations: 2.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002818/0.002843, allocations: 1.689 MB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.004401, allocations: 1.305 MB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.24e-05/0.004473, allocations: 4 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.004696, allocations: 19.8 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.00503, allocations: 87.55 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.005425, allocations: 179.4 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.005576, allocations: 83.69 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.005675, allocations: 12 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.005745, allocations: 43.89 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.005841, allocations: 23.91 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.00586, allocations: 8 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.006016, allocations: 87.88 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.006074, allocations: 27.91 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.006102, allocations: 15.94 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.006329, allocations: 151.4 kB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.006333, allocations: 0 / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006334, allocations: 0 / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.006338, allocations: 0 / 383 MB, free: 19.65 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003799/0.006718, allocations: 432 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.006752, allocations: 11.97 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.006796, allocations: 12.89 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.006945, allocations: 140.4 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.006956, allocations: 8.375 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.006977, allocations: 4.375 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.007115, allocations: 108 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.007127, allocations: 4.125 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.007137, allocations: 4.125 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.007143, allocations: 0 / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.755e-05/0.007181, allocations: 19.91 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.007466, allocations: 260.5 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.308e-05/0.007539, allocations: 39.05 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.007561, allocations: 19.69 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.007576, allocations: 0 / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.007594, allocations: 45.27 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.007595, allocations: 0 / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004092/0.008004, allocations: 125.7 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.008029, allocations: 77.11 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.008132, allocations: 200 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.008141, allocations: 25.7 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.008177, allocations: 146.8 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.008201, allocations: 27.78 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.008241, allocations: 23.38 kB / 384.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.008297, allocations: 0.4923 MB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/0.008319, allocations: 4 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.146e-05/0.008361, allocations: 57.05 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.228e-05/0.008413, allocations: 27.69 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.008414, allocations: 0 / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001161/0.00853, allocations: 77.5 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.008543, allocations: 4 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.008548, allocations: 4.047 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.00856, allocations: 3.984 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.008651, allocations: 20.02 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.008655, allocations: 0 / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.008704, allocations: 11.98 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.008712, allocations: 4 kB / 385.4 MB, free: 17.02 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 (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 prepare postOptimizeDAE: time 5.706e-05/0.008769, allocations: 152.6 kB / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.008813, allocations: 15.89 kB / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.008955, allocations: 74.39 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.008957, allocations: 0 / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.008959, allocations: 4 kB / 385.7 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.008963, allocations: 7.984 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.009246, allocations: 326.3 kB / 386 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.009249, allocations: 3.938 kB / 386 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/0.009315, allocations: 15.98 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.009317, allocations: 0 / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.009324, allocations: 0 / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.009325, allocations: 0 / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.009327, allocations: 4 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.009446, allocations: 215.8 kB / 386.2 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.009459, allocations: 7.953 kB / 386.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.009476, allocations: 3.984 kB / 386.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.00955, allocations: 8 kB / 386.3 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.009586, allocations: 11.98 kB / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.009592, allocations: 0 / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.071e-05/0.009643, allocations: 148.5 kB / 386.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009643, allocations: 0 / 386.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003129/0.009956, allocations: 43.86 kB / 386.5 MB, free: 15.93 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.001304/0.01126, allocations: 497 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.01138, allocations: 35.66 kB / 387 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01138, allocations: 0 / 387 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/0.01142, allocations: 31.61 kB / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.01173, allocations: 26.77 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.01208, allocations: 198.7 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.291e-05/0.01211, allocations: 71.19 kB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.603e-05/0.01218, allocations: 8.734 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.01226, allocations: 94.17 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01226, allocations: 0 / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of Templates: time 0.004868/0.01713, allocations: 2.237 MB / 389.6 MB, free: 12.89 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.1638423181138933]