Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.001212/0.001212, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.00173/0.00173, allocations: 169 kB / 24.24 MB, free: 312 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 1.054/1.054, allocations: 158.6 MB / 186 MB, free: 2.27 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.1399/0.1399, allocations: 32.36 MB / 270.7 MB, free: 14.72 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.424e-05, allocations: 8.219 kB / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.002281/0.002316, allocations: 1.649 MB / 349.3 MB, free: 8.098 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009371/0.003253, allocations: 1.052 MB / 350.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.003323, allocations: 0 / 350.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.00362, allocations: 23.84 kB / 350.4 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.003926, allocations: 51.64 kB / 350.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.004177, allocations: 111.7 kB / 350.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.004316, allocations: 63.78 kB / 350.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.004426, allocations: 8.172 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.67e-05/0.004493, allocations: 39.84 kB / 350.7 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.004604, allocations: 19.97 kB / 350.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.004623, allocations: 7.938 kB / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.004733, allocations: 47.91 kB / 350.7 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.004799, allocations: 15.98 kB / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.004827, allocations: 15.92 kB / 350.8 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.00501, allocations: 91.67 kB / 350.9 MB, free: 6.551 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.005014, allocations: 0 / 350.9 MB, free: 6.551 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005015, allocations: 0 / 350.9 MB, free: 6.551 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.00502, allocations: 0 / 350.9 MB, free: 6.551 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.0003735/0.005394, allocations: 412.2 kB / 351.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.005435, allocations: 8.031 kB / 351.3 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.005486, allocations: 4.938 kB / 351.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.005629, allocations: 144.4 kB / 351.4 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.005642, allocations: 4.375 kB / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.005666, allocations: 4.375 kB / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.00582, allocations: 112 kB / 351.5 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.005832, allocations: 4.125 kB / 351.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.005845, allocations: 3.938 kB / 351.5 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.005854, allocations: 0 / 351.5 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.492e-05/0.005889, allocations: 8 kB / 351.6 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.006273, allocations: 271.8 kB / 351.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.006377, allocations: 46.92 kB / 351.9 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.006406, allocations: 11.69 kB / 351.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.006434, allocations: 0 / 351.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.00646, allocations: 45.39 kB / 351.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.006462, allocations: 0 / 351.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005054/0.006967, allocations: 117.6 kB / 352 MB, free: 5.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.007008, allocations: 85.09 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.007107, allocations: 181.9 kB / 352.3 MB, free: 4.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.007116, allocations: 33.7 kB / 352.3 MB, free: 4.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.007152, allocations: 138.8 kB / 352.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.007173, allocations: 23.8 kB / 352.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.007201, allocations: 31.36 kB / 352.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.007246, allocations: 0.4883 MB / 353 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.007267, allocations: 11.98 kB / 353 MB, free: 4.176 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.007299, allocations: 53.08 kB / 353.1 MB, free: 4.109 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.948e-05/0.007338, allocations: 35.84 kB / 353.1 MB, free: 4.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.007339, allocations: 0 / 353.1 MB, free: 4.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.259e-05/0.007422, allocations: 65.64 kB / 353.2 MB, free: 4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.007437, allocations: 8 kB / 353.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.007441, allocations: 0 / 353.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.007457, allocations: 4.266 kB / 353.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.007541, allocations: 12 kB / 353.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.007547, allocations: 0 / 353.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.007572, allocations: 12.02 kB / 353.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.007579, allocations: 8 kB / 353.2 MB, free: 3.957 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 4.957e-05/0.007629, allocations: 164.5 kB / 353.4 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.00765, allocations: 15.94 kB / 353.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.00776, allocations: 82.03 kB / 353.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007762, allocations: 0 / 353.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.007765, allocations: 0 / 353.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007768, allocations: 0 / 353.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.00798, allocations: 333.3 kB / 353.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007982, allocations: 0 / 353.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.008021, allocations: 23.98 kB / 353.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.008024, allocations: 4 kB / 353.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.008031, allocations: 0 / 353.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.008032, allocations: 0 / 353.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008033, allocations: 0 / 353.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.554e-05/0.008118, allocations: 219.8 kB / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-06/0.008124, allocations: 3.953 kB / 354 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.008138, allocations: 7.984 kB / 354.1 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.549e-05/0.008174, allocations: 4 kB / 354.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.008216, allocations: 7.984 kB / 354.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.00822, allocations: 4 kB / 354.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.83e-05/0.008258, allocations: 147.2 kB / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008258, allocations: 0 / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.008444, allocations: 31.86 kB / 354.2 MB, free: 2.855 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.001024/0.009468, allocations: 429.5 kB / 354.7 MB, free: 2.523 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.009589, allocations: 39.61 kB / 354.7 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.009591, allocations: 0 / 354.7 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.412e-05/0.009615, allocations: 27.62 kB / 354.7 MB, free: 2.449 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.009839, allocations: 27.83 kB / 354.8 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.01018, allocations: 190.5 kB / 354.9 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.674e-05/0.01021, allocations: 63.34 kB / 355 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.881e-05/0.01024, allocations: 4 kB / 355 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.01028, allocations: 20.48 kB / 355 MB, free: 2.102 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01028, allocations: 0 / 355 MB, free: 2.102 MB / 282.7 MB Notification: Performance of Templates: time 0.003156/0.01343, allocations: 1.591 MB / 356.6 MB, free: 0.5234 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/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.54490730795078]