Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.002418/0.002418, allocations: 96.97 kB / 20.21 MB, free: 4.207 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.002704/0.002704, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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.301/1.301, allocations: 158.6 MB / 185.3 MB, free: 2.883 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.2185/0.2185, allocations: 32.38 MB / 270 MB, free: 14.77 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.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.218e-05, allocations: 6.25 kB / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.003063/0.003095, allocations: 1.561 MB / 348.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007129/0.003808, allocations: 327.3 kB / 348.8 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.003862, allocations: 8 kB / 348.8 MB, free: 7.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.004106, allocations: 19.84 kB / 348.9 MB, free: 7.863 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.004296, allocations: 35.84 kB / 348.9 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.004611, allocations: 87.69 kB / 349 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.004776, allocations: 59.78 kB / 349 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.004887, allocations: 15.97 kB / 349.1 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.328e-05/0.00497, allocations: 27.92 kB / 349.1 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.005037, allocations: 11.98 kB / 349.1 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.005063, allocations: 4 kB / 349.1 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.005163, allocations: 39.91 kB / 349.1 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.005223, allocations: 11.94 kB / 349.1 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.005261, allocations: 7.938 kB / 349.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.005474, allocations: 75.66 kB / 349.2 MB, free: 7.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.005479, allocations: 4 kB / 349.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.005481, allocations: 0 / 349.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.005486, allocations: 0 / 349.2 MB, free: 7.488 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005056/0.005992, allocations: 400 kB / 349.6 MB, free: 7.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.006037, allocations: 8.031 kB / 349.6 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.517e-05/0.006102, allocations: 12.89 kB / 349.6 MB, free: 7.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.006287, allocations: 137.5 kB / 349.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.006299, allocations: 384 / 349.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.006324, allocations: 384 / 349.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.006465, allocations: 50.17 kB / 349.8 MB, free: 6.828 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.00648, allocations: 4.188 kB / 349.8 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.006494, allocations: 4.125 kB / 349.8 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.006499, allocations: 0 / 349.8 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.423e-05/0.006594, allocations: 12 kB / 349.8 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.006975, allocations: 279.8 kB / 350.1 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.007252, allocations: 58.98 kB / 350.2 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.007303, allocations: 15.77 kB / 350.2 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.007331, allocations: 7.875 kB / 350.2 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.00735, allocations: 37.39 kB / 350.2 MB, free: 6.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.007351, allocations: 0 / 350.2 MB, free: 6.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006302/0.007981, allocations: 117.4 kB / 350.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.008008, allocations: 51.41 kB / 350.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.008137, allocations: 203.5 kB / 350.6 MB, free: 5.957 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.008146, allocations: 29.7 kB / 350.6 MB, free: 5.922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.008195, allocations: 146.8 kB / 350.8 MB, free: 5.773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.00822, allocations: 15.84 kB / 350.8 MB, free: 5.758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.008269, allocations: 23.38 kB / 350.8 MB, free: 5.727 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.00835, allocations: 0.4962 MB / 351.3 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.72e-05/0.008418, allocations: 11.98 kB / 351.3 MB, free: 5.207 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.674e-05/0.008474, allocations: 12 kB / 351.3 MB, free: 5.195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.008596, allocations: 39.67 kB / 351.4 MB, free: 5.152 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.008597, allocations: 3.938 kB / 351.4 MB, free: 5.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001842/0.008781, allocations: 81.81 kB / 351.5 MB, free: 5.062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.008801, allocations: 4 kB / 351.5 MB, free: 5.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.008808, allocations: 0 / 351.5 MB, free: 5.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.008829, allocations: 4 kB / 351.5 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.008905, allocations: 15.98 kB / 351.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.008913, allocations: 0 / 351.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.122e-05/0.008954, allocations: 0 / 351.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.008964, allocations: 4 kB / 351.5 MB, free: 5.035 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 (5): * Single equations (assignments): 5 * 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 8.015e-05/0.009045, allocations: 156.6 kB / 351.6 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.009091, allocations: 16.17 kB / 351.7 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.009323, allocations: 82.08 kB / 351.7 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.009328, allocations: 7.969 kB / 351.7 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.009332, allocations: 0 / 351.7 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.009336, allocations: 0 / 351.7 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.009732, allocations: 341.4 kB / 352.1 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.009733, allocations: 3.938 kB / 352.1 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.00979, allocations: 8 kB / 352.1 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.009792, allocations: 0 / 352.1 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.009801, allocations: 0 / 352.1 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.009802, allocations: 4 kB / 352.1 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.009804, allocations: 7.938 kB / 352.1 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.01001, allocations: 223.8 kB / 352.3 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.01002, allocations: 3.953 kB / 352.3 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.01004, allocations: 4.188 kB / 352.3 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.01013, allocations: 7.984 kB / 352.3 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.01018, allocations: 8 kB / 352.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.01018, allocations: 0 / 352.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.609e-05/0.01025, allocations: 150.4 kB / 352.5 MB, free: 3.957 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01025, allocations: 3.938 kB / 352.5 MB, free: 3.953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003832/0.01063, allocations: 19.98 kB / 352.5 MB, free: 3.934 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 (5): * Single equations (assignments): 5 * 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.00339/0.01402, allocations: 418.6 kB / 352.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.01429, allocations: 39.67 kB / 353 MB, free: 3.578 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.01429, allocations: 0 / 353 MB, free: 3.578 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.01437, allocations: 31.73 kB / 353 MB, free: 3.543 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.01483, allocations: 28.77 kB / 353 MB, free: 3.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.01524, allocations: 178 kB / 353.2 MB, free: 3.316 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.233e-05/0.01531, allocations: 83.22 kB / 353.3 MB, free: 3.215 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.01537, allocations: 15.97 kB / 353.3 MB, free: 3.199 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.01541, allocations: 16.44 kB / 353.3 MB, free: 3.184 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01541, allocations: 0 / 353.3 MB, free: 3.184 MB / 282.7 MB Notification: Performance of Templates: time 0.005051/0.02046, allocations: 1.152 MB / 354.5 MB, free: 2.035 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.695322597050108]