Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.0009669/0.0009669, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.00101/0.00101, allocations: 169 kB / 24.25 MB, free: 308 kB / 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 0.9638/0.9638, allocations: 158.6 MB / 186 MB, free: 2.488 MB / 170.7 MB " [Timeout remaining time 179] 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.1296/0.1296, allocations: 32.37 MB / 270.7 MB, free: 14.75 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.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.711e-05, allocations: 4.281 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.001745/0.001762, allocations: 1.653 MB / 349.3 MB, free: 8.098 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003984/0.00216, allocations: 319.4 kB / 349.6 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.002211, allocations: 4 kB / 349.6 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.002595, allocations: 459 kB / 350.1 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.002842, allocations: 255.4 kB / 350.3 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.003018, allocations: 107.7 kB / 350.4 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.003171, allocations: 167.6 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.68e-05/0.003258, allocations: 8.172 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.387e-05/0.003342, allocations: 123.8 kB / 350.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.00348, allocations: 235.6 kB / 351 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.003496, allocations: 4 kB / 351 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.514e-05/0.003551, allocations: 35.92 kB / 351 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.003623, allocations: 91.64 kB / 351.1 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.003661, allocations: 31.75 kB / 351.1 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.003826, allocations: 195.2 kB / 351.3 MB, free: 6.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003828, allocations: 4 kB / 351.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.003829, allocations: 0 / 351.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.003833, allocations: 0 / 351.3 MB, free: 6.094 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.0004261/0.00426, allocations: 0.6932 MB / 352 MB, free: 5.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.004293, allocations: 8.031 kB / 352 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.004347, allocations: 48.61 kB / 352.1 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.004499, allocations: 241 kB / 352.3 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.004509, allocations: 384 / 352.3 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.004529, allocations: 8.375 kB / 352.3 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.004637, allocations: 54.94 kB / 352.4 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.004648, allocations: 4.188 kB / 352.4 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.004658, allocations: 11.94 kB / 352.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.004666, allocations: 0 / 352.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.3e-05/0.004699, allocations: 15.86 kB / 352.4 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.005004, allocations: 423.6 kB / 352.8 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.546e-05/0.00507, allocations: 38.98 kB / 352.9 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.097e-05/0.005091, allocations: 15.69 kB / 352.9 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.00511, allocations: 4 kB / 352.9 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.005126, allocations: 33.39 kB / 352.9 MB, free: 4.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.005127, allocations: 4 kB / 352.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003706/0.005497, allocations: 212.8 kB / 353.1 MB, free: 4.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.005519, allocations: 51.41 kB / 353.2 MB, free: 4.098 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.005816, allocations: 0.6238 MB / 353.8 MB, free: 3.457 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.201e-06/0.005822, allocations: 25.7 kB / 353.8 MB, free: 3.426 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.005917, allocations: 286.7 kB / 354.1 MB, free: 3.141 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.005938, allocations: 19.84 kB / 354.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.005964, allocations: 27.38 kB / 354.1 MB, free: 3.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.006042, allocations: 0.5547 MB / 354.7 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.00606, allocations: 4 kB / 354.7 MB, free: 2.516 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.56e-05/0.006076, allocations: 12 kB / 354.7 MB, free: 2.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/0.006113, allocations: 31.91 kB / 354.7 MB, free: 2.469 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.006113, allocations: 4 kB / 354.7 MB, free: 2.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.503e-05/0.006188, allocations: 105.3 kB / 354.8 MB, free: 2.355 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.0062, allocations: 8 kB / 354.9 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.006204, allocations: 0 / 354.9 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.006217, allocations: 288 / 354.9 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.006284, allocations: 12 kB / 354.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.006289, allocations: 3.984 kB / 354.9 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.665e-05/0.006316, allocations: 4 kB / 354.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.006322, allocations: 8 kB / 354.9 MB, free: 2.32 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 (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.04e-05/0.006372, allocations: 160.5 kB / 355 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.0064, allocations: 51.66 kB / 355.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.006508, allocations: 121.4 kB / 355.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.006509, allocations: 0 / 355.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.006512, allocations: 0 / 355.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.006516, allocations: 0 / 355.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.006764, allocations: 477.3 kB / 355.7 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006765, allocations: 3.938 kB / 355.7 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.006799, allocations: 19.92 kB / 355.7 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006801, allocations: 8 kB / 355.7 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.006807, allocations: 0 / 355.7 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006809, allocations: 0 / 355.7 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.00681, allocations: 0 / 355.7 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.413e-05/0.006894, allocations: 251.6 kB / 356 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.006912, allocations: 31.72 kB / 356 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.006926, allocations: 4 kB / 356 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.948e-05/0.006966, allocations: 7.984 kB / 356 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.007001, allocations: 7.984 kB / 356 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.007003, allocations: 0 / 356 MB, free: 1.121 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.007179, allocations: 426.8 kB / 356.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007179, allocations: 4 kB / 356.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001573/0.007336, allocations: 27.92 kB / 356.5 MB, free: 0.6758 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 (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.0006953/0.008031, allocations: 377.1 kB / 356.8 MB, free: 412 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.889e-05/0.00812, allocations: 39.66 kB / 356.9 MB, free: 368 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008122, allocations: 0 / 356.9 MB, free: 368 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.314e-05/0.008145, allocations: 23.78 kB / 356.9 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.008367, allocations: 39.28 kB / 356.9 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.008948, allocations: 0.5824 MB / 357.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.054e-05/0.009028, allocations: 119.3 kB / 357.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.375e-05/0.009062, allocations: 11.98 kB / 357.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.009091, allocations: 12.5 kB / 357.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of SimCode: time 7.12e-07/0.009092, allocations: 0 / 357.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of Templates: time 0.003702/0.01279, allocations: 1.483 MB / 359.1 MB, free: 14.05 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.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.0747598831076175]