Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.002081/0.002081, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.002776/0.002776, allocations: 157.6 kB / 23.52 MB, free: 0.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2263/0.2263, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.736e-06/2.736e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.676e-05, allocations: 2.312 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.00485/0.004887, allocations: 1.614 MB / 348.5 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.005928, allocations: 351.3 kB / 348.9 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.00601, allocations: 0 / 348.9 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007863/0.006796, allocations: 447.1 kB / 349.3 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004865/0.007282, allocations: 259.4 kB / 349.6 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.007867, allocations: 151.6 kB / 349.7 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.008153, allocations: 167.6 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.008268, allocations: 8.188 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.00846, allocations: 115.8 kB / 350 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.008742, allocations: 243.6 kB / 350.3 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.008771, allocations: 4 kB / 350.3 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.008877, allocations: 35.92 kB / 350.3 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.008984, allocations: 87.7 kB / 350.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.009053, allocations: 35.75 kB / 350.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.009446, allocations: 239 kB / 350.6 MB, free: 6.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.009453, allocations: 3.984 kB / 350.6 MB, free: 6.066 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.009455, allocations: 0 / 350.6 MB, free: 6.066 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.009465, allocations: 0 / 350.6 MB, free: 6.066 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.0008567/0.01032, allocations: 0.5621 MB / 351.2 MB, free: 5.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.01038, allocations: 8.031 kB / 351.2 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.01049, allocations: 48.61 kB / 351.3 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.01077, allocations: 246 kB / 351.5 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.01079, allocations: 4.375 kB / 351.5 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.01082, allocations: 4.375 kB / 351.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.01101, allocations: 50.25 kB / 351.6 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.01103, allocations: 4.188 kB / 351.6 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.01104, allocations: 3.938 kB / 351.6 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.01105, allocations: 0 / 351.6 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.0112, allocations: 31.97 kB / 351.6 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.01175, allocations: 328.4 kB / 351.9 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.01204, allocations: 54.5 kB / 352 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.007e-05/0.01212, allocations: 16.94 kB / 352 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.01215, allocations: 0 / 352 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.01216, allocations: 30.56 kB / 352 MB, free: 4.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.01216, allocations: 0 / 352 MB, free: 4.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009098/0.01307, allocations: 244.6 kB / 352.3 MB, free: 4.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.0131, allocations: 55.41 kB / 352.3 MB, free: 4.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/0.01408, allocations: 0.8535 MB / 353.2 MB, free: 3.402 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.01409, allocations: 29.7 kB / 353.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.01426, allocations: 212 kB / 353.4 MB, free: 3.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.01429, allocations: 15.97 kB / 353.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.01434, allocations: 17.72 kB / 353.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.01442, allocations: 370.7 kB / 353.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.01454, allocations: 19.98 kB / 353.8 MB, free: 2.727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.01465, allocations: 19.98 kB / 353.8 MB, free: 2.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.01487, allocations: 52.83 kB / 353.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01487, allocations: 4 kB / 353.9 MB, free: 2.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003444/0.01522, allocations: 121.4 kB / 354 MB, free: 2.523 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.01524, allocations: 4 kB / 354 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01524, allocations: 0 / 354 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.01527, allocations: 0 / 354 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.01537, allocations: 24.17 kB / 354 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.01538, allocations: 0 / 354 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.901e-05/0.01548, allocations: 8 kB / 354.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.01548, allocations: 4 kB / 354.1 MB, free: 2.484 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 (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 0.0002089/0.01569, allocations: 225.6 kB / 354.3 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/0.01577, allocations: 39.72 kB / 354.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.01618, allocations: 141.2 kB / 354.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01619, allocations: 288 / 354.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01619, allocations: 0 / 354.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01619, allocations: 0 / 354.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006725/0.01687, allocations: 422 kB / 354.9 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01687, allocations: 0 / 354.9 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.01696, allocations: 11.98 kB / 354.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01697, allocations: 0 / 354.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.01698, allocations: 4 kB / 354.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01698, allocations: 0 / 354.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01698, allocations: 0 / 354.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.01734, allocations: 223.1 kB / 355.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.0174, allocations: 35.72 kB / 355.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.01744, allocations: 4 kB / 355.1 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.01759, allocations: 7.938 kB / 355.1 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.01765, allocations: 7.984 kB / 355.2 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.01766, allocations: 192 / 355.2 MB, free: 1.316 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007647/0.01842, allocations: 0.6472 MB / 355.8 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01842, allocations: 0 / 355.8 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004705/0.01889, allocations: 19.94 kB / 355.8 MB, free: 0.6523 MB / 282.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.002776/0.02167, allocations: 430.2 kB / 356.2 MB, free: 344 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003275/0.022, allocations: 59.89 kB / 356.3 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.022, allocations: 0 / 356.3 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.02213, allocations: 23.98 kB / 356.3 MB, free: 260 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006711/0.02281, allocations: 27.58 kB / 356.3 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.02469, allocations: 0.8031 MB / 357.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.02515, allocations: 220.1 kB / 357.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.02527, allocations: 20.22 kB / 357.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.02533, allocations: 12.5 kB / 357.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02533, allocations: 0 / 357.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of Templates: time 0.009082/0.03441, allocations: 1.349 MB / 358.7 MB, free: 13.78 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.875599778955802]