Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001608/0.002721, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001548/0.00258, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9564/0.9564, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1668/1.123, allocations: 52.5 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1457/0.1457, allocations: 32.79 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05105/0.1967, allocations: 12.54 MB / 284.5 MB, free: 9.727 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.072e-05, allocations: 5.406 kB / 285.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002432/0.002453, allocations: 1.708 MB / 287.6 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.003676, allocations: 1.189 MB / 288.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.003721, allocations: 0 / 288.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.003852, allocations: 19.86 kB / 288.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.004004, allocations: 51.64 kB / 288.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.004261, allocations: 123.5 kB / 289 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.004386, allocations: 67.83 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.892e-05/0.004465, allocations: 12.19 kB / 289 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.00456, allocations: 51.83 kB / 289.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.004652, allocations: 23.91 kB / 289.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.004667, allocations: 4 kB / 289.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.004789, allocations: 55.8 kB / 289.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.004836, allocations: 12 kB / 289.2 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.004854, allocations: 11.94 kB / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.005011, allocations: 87.72 kB / 289.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.005024, allocations: 3.938 kB / 289.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.005025, allocations: 0 / 289.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.005033, allocations: 0 / 289.3 MB, free: 4.961 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.0003668/0.0054, allocations: 292.2 kB / 289.6 MB, free: 4.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.005431, allocations: 8.031 kB / 289.6 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.005464, allocations: 8.922 kB / 289.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.005593, allocations: 125.7 kB / 289.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.005603, allocations: 12.36 kB / 289.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.005623, allocations: 4.328 kB / 289.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.005745, allocations: 114.3 kB / 289.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.005754, allocations: 192 / 289.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.005761, allocations: 3.938 kB / 289.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.005767, allocations: 0 / 289.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.319e-05/0.00579, allocations: 12 kB / 289.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.005979, allocations: 160.3 kB / 290 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.327e-05/0.006032, allocations: 26.52 kB / 290 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.006048, allocations: 12.86 kB / 290.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.006066, allocations: 4 kB / 290.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.006087, allocations: 38.5 kB / 290.1 MB, free: 4.051 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.006088, allocations: 0 / 290.1 MB, free: 4.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003146/0.006403, allocations: 105.6 kB / 290.2 MB, free: 3.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.006425, allocations: 51.41 kB / 290.2 MB, free: 3.879 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.006506, allocations: 134.7 kB / 290.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.006515, allocations: 25.7 kB / 290.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/0.006543, allocations: 84.14 kB / 290.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.006566, allocations: 35.72 kB / 290.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.006594, allocations: 17.72 kB / 290.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.951e-05/0.006663, allocations: 322.8 kB / 290.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.006677, allocations: 4 kB / 290.9 MB, free: 3.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.092e-05/0.006708, allocations: 51.47 kB / 290.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.299e-05/0.006741, allocations: 32.77 kB / 290.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.006742, allocations: 0 / 290.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.927e-05/0.006801, allocations: 53.62 kB / 291 MB, free: 3.074 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.006813, allocations: 4 kB / 291 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006817, allocations: 0 / 291 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.006829, allocations: 0 / 291 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.006903, allocations: 24.02 kB / 291 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.006905, allocations: 3.938 kB / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.006926, allocations: 4 kB / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.00693, allocations: 0 / 291 MB, free: 3.039 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.455e-05/0.006984, allocations: 124.6 kB / 291.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.007001, allocations: 7.938 kB / 291.2 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.565e-05/0.007087, allocations: 66.09 kB / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.00709, allocations: 4 kB / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.007091, allocations: 0 / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.007093, allocations: 0 / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.007297, allocations: 226.7 kB / 291.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.007299, allocations: 0 / 291.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.007346, allocations: 12 kB / 291.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.007356, allocations: 11.94 kB / 291.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.007358, allocations: 3.984 kB / 291.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-06/0.007362, allocations: 0 / 291.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.007363, allocations: 0 / 291.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.007365, allocations: 4 kB / 291.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.021e-05/0.007446, allocations: 155.8 kB / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.007457, allocations: 7.984 kB / 291.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.566e-05/0.007493, allocations: 8 kB / 291.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.007522, allocations: 11.98 kB / 291.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.007526, allocations: 0 / 291.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.675e-05/0.007552, allocations: 28.33 kB / 291.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007553, allocations: 0 / 291.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.0077, allocations: 23.94 kB / 291.7 MB, free: 2.305 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.001319/0.009019, allocations: 0.6132 MB / 292.3 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.681e-05/0.009116, allocations: 28.86 kB / 292.3 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.009123, allocations: 4 kB / 292.4 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.04e-05/0.009154, allocations: 24.78 kB / 292.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.009346, allocations: 83.31 kB / 292.5 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.009767, allocations: 190.3 kB / 292.6 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.506e-05/0.009802, allocations: 63.34 kB / 292.7 MB, free: 1.531 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.453e-05/0.009846, allocations: 20.39 kB / 292.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.009911, allocations: 67.36 kB / 292.8 MB, free: 1.445 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.009912, allocations: 0 / 292.8 MB, free: 1.445 MB / 282.7 MB Notification: Performance of Templates: time 0.003186/0.0131, allocations: 1.674 MB / 294.5 MB, free: 15.79 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.839633314870298]