Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0011/0.0011, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001391/0.001391, allocations: 165 kB / 23.79 MB, free: 0.7812 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.085/1.085, allocations: 158.6 MB / 185.7 MB, free: 2.938 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.1671/0.1671, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.604e-05, allocations: 2.312 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002229/0.002255, allocations: 1.652 MB / 349.3 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.003265, allocations: 1.087 MB / 350.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.003329, allocations: 4 kB / 350.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.003633, allocations: 23.73 kB / 350.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.003903, allocations: 43.77 kB / 350.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.004178, allocations: 159.6 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.004311, allocations: 63.78 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.004409, allocations: 19.97 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.004463, allocations: 27.92 kB / 350.8 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.689e-05/0.004549, allocations: 27.89 kB / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.004569, allocations: 4 kB / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.839e-05/0.004657, allocations: 55.86 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.004713, allocations: 15.92 kB / 350.9 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.00475, allocations: 11.98 kB / 350.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.004923, allocations: 87.72 kB / 351 MB, free: 6.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.004926, allocations: 7.938 kB / 351 MB, free: 6.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.004928, allocations: 0 / 351 MB, free: 6.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.004933, allocations: 0 / 351 MB, free: 6.145 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.0004173/0.00535, allocations: 420.1 kB / 351.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.005402, allocations: 8.031 kB / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.005462, allocations: 12.89 kB / 351.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.005615, allocations: 128.5 kB / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.005627, allocations: 384 / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.005658, allocations: 4.375 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.00584, allocations: 112 kB / 351.6 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.005852, allocations: 4.188 kB / 351.6 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.005865, allocations: 4.125 kB / 351.6 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.005874, allocations: 0 / 351.6 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.659e-05/0.00591, allocations: 15.92 kB / 351.7 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.006225, allocations: 287.7 kB / 351.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.967e-05/0.006305, allocations: 39.05 kB / 352 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.006332, allocations: 15.62 kB / 352 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.006357, allocations: 4 kB / 352 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.006382, allocations: 37.39 kB / 352 MB, free: 4.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.006383, allocations: 7.938 kB / 352 MB, free: 4.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004658/0.006849, allocations: 121.5 kB / 352.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.006882, allocations: 77.11 kB / 352.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.006988, allocations: 197.8 kB / 352.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.006997, allocations: 29.7 kB / 352.5 MB, free: 4.457 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.007042, allocations: 134.9 kB / 352.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.007071, allocations: 27.78 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.007103, allocations: 23.38 kB / 352.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.007176, allocations: 0.4923 MB / 353.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.007199, allocations: 4 kB / 353.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.859e-05/0.007237, allocations: 61.08 kB / 353.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.51e-05/0.007282, allocations: 39.83 kB / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007284, allocations: 0 / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.133e-05/0.007365, allocations: 73.64 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.00738, allocations: 4 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.007385, allocations: 0 / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.007401, allocations: 0 / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.007487, allocations: 19.98 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.007494, allocations: 0 / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.00752, allocations: 8 kB / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.007529, allocations: 8.031 kB / 353.3 MB, free: 3.52 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 6.275e-05/0.007592, allocations: 160.5 kB / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.007623, allocations: 11.95 kB / 353.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.007756, allocations: 82 kB / 353.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.007759, allocations: 0 / 353.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.007764, allocations: 3.984 kB / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007767, allocations: 0 / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.007991, allocations: 333.4 kB / 353.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007992, allocations: 0 / 353.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.008032, allocations: 19.94 kB / 353.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008034, allocations: 4 kB / 353.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.008043, allocations: 0 / 353.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.008045, allocations: 7.984 kB / 353.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.008046, allocations: 0 / 353.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.499e-05/0.008141, allocations: 215.8 kB / 354.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-06/0.008148, allocations: 7.891 kB / 354.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.00816, allocations: 4 kB / 354.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.371e-05/0.008194, allocations: 4 kB / 354.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.008235, allocations: 7.984 kB / 354.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.008239, allocations: 4 kB / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.691e-05/0.008276, allocations: 147.7 kB / 354.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008276, allocations: 0 / 354.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.008451, allocations: 27.88 kB / 354.4 MB, free: 2.426 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.0008625/0.009313, allocations: 442.9 kB / 354.8 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.009439, allocations: 35.67 kB / 354.8 MB, free: 2.047 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.009442, allocations: 0 / 354.8 MB, free: 2.047 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.009475, allocations: 31.61 kB / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.009717, allocations: 23.89 kB / 354.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.01011, allocations: 194.9 kB / 355.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.872e-05/0.01015, allocations: 63.34 kB / 355.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.268e-05/0.0102, allocations: 19.97 kB / 355.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.01023, allocations: 12.5 kB / 355.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01024, allocations: 4 kB / 355.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of Templates: time 0.003866/0.0141, allocations: 1.748 MB / 356.9 MB, free: 15.9 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.3951786239631474]