Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001058/0.001058, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003776/0.003776, allocations: 165.1 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9271/0.9271, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.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.2551/0.2551, allocations: 32.79 MB / 294.2 MB, free: 1.215 MB / 266.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.206e-05, allocations: 8.25 kB / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002846/0.002878, allocations: 1.603 MB / 442.5 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009332/0.003811, allocations: 0.5375 MB / 443 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.003877, allocations: 3.938 kB / 443 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.004175, allocations: 87.64 kB / 443.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.004534, allocations: 103.6 kB / 443.2 MB, free: 1.367 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.004896, allocations: 113.5 kB / 443.3 MB, free: 1.258 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.005072, allocations: 87.69 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.005205, allocations: 11.98 kB / 443.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.174e-05/0.005297, allocations: 43.89 kB / 443.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.00543, allocations: 59.86 kB / 443.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.005448, allocations: 4 kB / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.005553, allocations: 47.92 kB / 443.6 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.005617, allocations: 19.92 kB / 443.6 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.005653, allocations: 15.92 kB / 443.6 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.005872, allocations: 115.5 kB / 443.7 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.005874, allocations: 0 / 443.7 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.005876, allocations: 0 / 443.7 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.005881, allocations: 0 / 443.7 MB, free: 0.8594 MB / 410.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.0005697/0.006451, allocations: 333.6 kB / 444 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.209e-05/0.006543, allocations: 8.031 kB / 444.1 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.29e-05/0.006626, allocations: 20.84 kB / 444.1 MB, free: 488 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.006972, allocations: 138.3 kB / 444.2 MB, free: 320 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.006995, allocations: 4.375 kB / 444.2 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.007057, allocations: 8.328 kB / 444.2 MB, free: 308 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.007336, allocations: 58.16 kB / 444.3 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.007369, allocations: 4.125 kB / 444.3 MB, free: 240 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.007394, allocations: 8.125 kB / 444.3 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.007409, allocations: 4 kB / 444.3 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.00753, allocations: 19.98 kB / 444.3 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2267/0.2342, allocations: 239.8 kB / 444.5 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.2344, allocations: 47.16 kB / 444.6 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.2344, allocations: 19.7 kB / 444.6 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.2344, allocations: 5.844 kB / 444.6 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2345, allocations: 30.56 kB / 444.6 MB, free: 46.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 3.617e-06/0.2345, allocations: 0 / 444.6 MB, free: 46.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008053/0.2353, allocations: 243.9 kB / 444.9 MB, free: 46.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.2353, allocations: 54.97 kB / 444.9 MB, free: 46.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.2355, allocations: 212 kB / 445.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.2355, allocations: 27.33 kB / 445.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.2356, allocations: 109.4 kB / 445.3 MB, free: 46.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.2356, allocations: 30.16 kB / 445.3 MB, free: 46.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.2356, allocations: 22.06 kB / 445.3 MB, free: 46.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.538e-05/0.2357, allocations: 328.1 kB / 445.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.2358, allocations: 30.05 kB / 445.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.667e-05/0.2358, allocations: 27.53 kB / 445.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.2359, allocations: 75.92 kB / 445.8 MB, free: 45.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2359, allocations: 0 / 445.8 MB, free: 45.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001617/0.2361, allocations: 121.9 kB / 445.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.2361, allocations: 9.562 kB / 445.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2361, allocations: 0 / 445.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.2362, allocations: 0.9062 kB / 445.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.2362, allocations: 18.73 kB / 445.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2363, allocations: 3.531 kB / 445.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.2363, allocations: 9.969 kB / 445.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.2363, allocations: 5.719 kB / 445.9 MB, free: 45.79 MB / 410.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 (8): * Single equations (assignments): 8 * 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 7.587e-05/0.2364, allocations: 125.1 kB / 446.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.2364, allocations: 18.72 kB / 446.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.2366, allocations: 135.6 kB / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2366, allocations: 2.969 kB / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2366, allocations: 3.562 kB / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2366, allocations: 0 / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.237, allocations: 358.3 kB / 446.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.237, allocations: 0 / 446.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.2371, allocations: 21.12 kB / 446.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.2371, allocations: 2.906 kB / 446.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2371, allocations: 1.625 kB / 446.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2371, allocations: 6.344 kB / 446.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2371, allocations: 0 / 446.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.2372, allocations: 220.7 kB / 446.8 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.2373, allocations: 6.734 kB / 446.8 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.2373, allocations: 3.047 kB / 446.8 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.826e-05/0.2373, allocations: 9.75 kB / 446.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.2374, allocations: 6.047 kB / 446.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.2374, allocations: 3.969 kB / 446.9 MB, free: 45.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.518e-05/0.2374, allocations: 165.6 kB / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2374, allocations: 0 / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001965/0.2376, allocations: 23.06 kB / 447 MB, free: 45.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008519/0.2385, allocations: 493.3 kB / 447.5 MB, free: 44.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.2387, allocations: 80.7 kB / 447.6 MB, free: 44.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2387, allocations: 0 / 447.6 MB, free: 44.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.2387, allocations: 36.39 kB / 447.6 MB, free: 44.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.239, allocations: 39.94 kB / 447.7 MB, free: 44.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.2394, allocations: 291.2 kB / 448 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.254e-05/0.2395, allocations: 99.75 kB / 448.1 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.2395, allocations: 17.75 kB / 448.1 MB, free: 44.66 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2395, allocations: 0 / 448.1 MB, free: 44.66 MB / 410.7 MB Notification: Performance of Templates: time 0.002678/0.2422, allocations: 1.869 MB / 449.9 MB, free: 44.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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: 5.227961008436978]