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.0007975/0.0007975, allocations: 95.2 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.0008927/0.0008927, allocations: 165 kB / 23.8 MB, free: 0.7773 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 0.9684/0.9684, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1632/0.1632, 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.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 2.545e-06/2.545e-06, allocations: 3.938 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.22e-05/7.474e-05, allocations: 4.281 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.003637/0.003712, allocations: 1.657 MB / 349.3 MB, free: 7.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.005451, allocations: 1.06 MB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.093e-05/0.005532, allocations: 0 / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.005866, allocations: 27.8 kB / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.006222, allocations: 39.78 kB / 350.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.006637, allocations: 111.7 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.006805, allocations: 63.77 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.006929, allocations: 16.17 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.074e-05/0.00701, allocations: 27.92 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.007139, allocations: 23.89 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.007164, allocations: 4 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.007339, allocations: 51.92 kB / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.007442, allocations: 19.97 kB / 350.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.007477, allocations: 15.88 kB / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.007778, allocations: 91.64 kB / 350.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.007785, allocations: 0 / 350.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.007787, allocations: 4 kB / 350.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.007798, allocations: 0 / 350.9 MB, free: 6.207 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.0007154/0.008513, allocations: 408.2 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.886e-05/0.008582, allocations: 12.03 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.106e-05/0.008673, allocations: 8.875 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.008873, allocations: 136.4 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.00889, allocations: 384 / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.008919, allocations: 8.375 kB / 351.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.009127, allocations: 112 kB / 351.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.00914, allocations: 192 / 351.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.009154, allocations: 3.938 kB / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.009164, allocations: 0 / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.00921, allocations: 11.98 kB / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.009573, allocations: 275.7 kB / 351.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.97e-05/0.009673, allocations: 43 kB / 351.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.009705, allocations: 11.69 kB / 351.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.009729, allocations: 8.078 kB / 351.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.009752, allocations: 33.39 kB / 351.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.545e-06/0.009755, allocations: 0 / 351.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005488/0.0103, allocations: 125.7 kB / 352.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.01034, allocations: 81.05 kB / 352.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.01045, allocations: 185.9 kB / 352.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.01046, allocations: 25.7 kB / 352.3 MB, free: 4.555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.0105, allocations: 142.8 kB / 352.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.01053, allocations: 27.78 kB / 352.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.01058, allocations: 27.38 kB / 352.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.01064, allocations: 0.4883 MB / 353 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.053e-05/0.01067, allocations: 11.98 kB / 353 MB, free: 3.836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-05/0.01072, allocations: 49.16 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.875e-05/0.01078, allocations: 43.88 kB / 353.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.01078, allocations: 0 / 353.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001182/0.0109, allocations: 69.56 kB / 353.2 MB, free: 3.652 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.01091, allocations: 4 kB / 353.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01092, allocations: 0 / 353.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.01094, allocations: 4 kB / 353.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.01105, allocations: 19.98 kB / 353.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.01106, allocations: 4.031 kB / 353.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.0111, allocations: 8 kB / 353.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.0111, allocations: 0 / 353.2 MB, free: 3.613 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.733e-05/0.01117, allocations: 164.5 kB / 353.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.0112, allocations: 11.89 kB / 353.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.01136, allocations: 78.05 kB / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01136, allocations: 0 / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.01137, allocations: 4 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.01137, allocations: 0 / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.01168, allocations: 333.4 kB / 353.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01169, allocations: 0 / 353.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.01176, allocations: 19.92 kB / 353.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01176, allocations: 0 / 353.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.01177, allocations: 0 / 353.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.01177, allocations: 0 / 353.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.01178, allocations: 4 kB / 353.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.01192, allocations: 223.8 kB / 354.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.01193, allocations: 7.953 kB / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.01195, allocations: 0 / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.18e-05/0.01201, allocations: 4 kB / 354.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.01206, allocations: 11.98 kB / 354.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.01207, allocations: 4 kB / 354.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.642e-05/0.01212, allocations: 149.8 kB / 354.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01212, allocations: 0 / 354.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002932/0.01242, allocations: 31.86 kB / 354.3 MB, free: 2.516 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.001251/0.01367, allocations: 429.4 kB / 354.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.01384, allocations: 39.66 kB / 354.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.01384, allocations: 0 / 354.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.01388, allocations: 31.61 kB / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.01421, allocations: 31.83 kB / 354.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.0147, allocations: 186.5 kB / 355 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.644e-05/0.01474, allocations: 59.34 kB / 355 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.274e-05/0.01481, allocations: 11.98 kB / 355 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.01485, allocations: 16.5 kB / 355 MB, free: 1.758 MB / 282.7 MB Notification: Performance of SimCode: time 1.723e-06/0.01485, allocations: 4 kB / 355.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of Templates: time 0.005414/0.02027, allocations: 1.715 MB / 356.8 MB, free: 44 kB / 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.1783186830580235]