Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001338/0.001338, allocations: 82.5 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001391/0.001391, allocations: 163.5 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.385/1.385, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 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.1974/0.1974, allocations: 32.8 MB / 293.5 MB, free: 44 kB / 270.1 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.312e-05, allocations: 2.281 kB / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.00311/0.003144, allocations: 1.611 MB / 441.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.00433, allocations: 0.5259 MB / 442.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.004381, allocations: 3.938 kB / 442.2 MB, free: 6.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.004599, allocations: 31.78 kB / 442.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.004876, allocations: 79.56 kB / 442.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.00514, allocations: 98 kB / 442.4 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.00531, allocations: 79.75 kB / 442.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.005402, allocations: 4 kB / 442.5 MB, free: 5.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.498e-05/0.005477, allocations: 39.91 kB / 442.6 MB, free: 5.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.217e-05/0.005549, allocations: 27.89 kB / 442.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.005568, allocations: 4 kB / 442.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.005746, allocations: 99.81 kB / 442.7 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.005791, allocations: 15.88 kB / 442.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.00583, allocations: 19.91 kB / 442.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.006105, allocations: 155.5 kB / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.006107, allocations: 0 / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006108, allocations: 4 kB / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.006119, allocations: 0 / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005502/0.00667, allocations: 329.7 kB / 443.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.006706, allocations: 8.031 kB / 443.2 MB, free: 5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.006767, allocations: 12.89 kB / 443.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.006993, allocations: 141.6 kB / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-06/0.006999, allocations: 4.312 kB / 443.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.007027, allocations: 4.375 kB / 443.4 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.007217, allocations: 93.66 kB / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.007228, allocations: 4.125 kB / 443.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.007243, allocations: 12.12 kB / 443.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.007248, allocations: 0 / 443.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.007359, allocations: 27.97 kB / 443.5 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.007794, allocations: 244.5 kB / 443.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.007926, allocations: 54.55 kB / 443.8 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.007991, allocations: 24.97 kB / 443.8 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.008014, allocations: 4 kB / 443.8 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.008048, allocations: 34.5 kB / 443.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 3.206e-06/0.008051, allocations: 7.984 kB / 443.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006535/0.008704, allocations: 189.3 kB / 444.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.008766, allocations: 81.11 kB / 444.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.008935, allocations: 152.7 kB / 444.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.008955, allocations: 29.7 kB / 444.3 MB, free: 3.766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.009026, allocations: 92.14 kB / 444.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.009057, allocations: 31.73 kB / 444.4 MB, free: 3.641 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.0091, allocations: 25.72 kB / 444.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.009247, allocations: 322.8 kB / 444.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.61e-05/0.009343, allocations: 31.97 kB / 444.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.00946, allocations: 71.39 kB / 444.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.009635, allocations: 68.83 kB / 444.9 MB, free: 3.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.009635, allocations: 4 kB / 444.9 MB, free: 3.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002519/0.009887, allocations: 117.6 kB / 445.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.009901, allocations: 10.81 kB / 445.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.009904, allocations: 0 / 445.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.009917, allocations: 4 kB / 445.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.01002, allocations: 15.98 kB / 445.1 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.01003, allocations: 4 kB / 445.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.01008, allocations: 7.984 kB / 445.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.01008, allocations: 3.938 kB / 445.1 MB, free: 2.934 MB / 366.1 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 (9): * Single equations (assignments): 9 * 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 9.454e-05/0.01018, allocations: 118.5 kB / 445.2 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.01023, allocations: 19.84 kB / 445.2 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.01052, allocations: 122.4 kB / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01053, allocations: 384 / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01053, allocations: 0 / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01053, allocations: 0 / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.01104, allocations: 338.1 kB / 445.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01104, allocations: 0 / 445.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.01111, allocations: 19.92 kB / 445.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.01111, allocations: 4 kB / 445.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.01112, allocations: 4 kB / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01112, allocations: 3.938 kB / 445.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01112, allocations: 0 / 445.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.0114, allocations: 199.4 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.01142, allocations: 15.89 kB / 445.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.01144, allocations: 0 / 445.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.711e-05/0.01152, allocations: 4 kB / 445.9 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.01155, allocations: 7.984 kB / 445.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/0.01156, allocations: 8 kB / 446 MB, free: 2.016 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.01167, allocations: 119.2 kB / 446.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01167, allocations: 0 / 446.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.01196, allocations: 43.86 kB / 446.1 MB, free: 1.855 MB / 366.1 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 (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.001846/0.01381, allocations: 0.5378 MB / 446.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.01404, allocations: 67.95 kB / 446.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01404, allocations: 0 / 446.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.747e-05/0.01414, allocations: 43.91 kB / 446.8 MB, free: 1.422 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.01444, allocations: 22.09 kB / 446.8 MB, free: 1.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.01488, allocations: 193.2 kB / 447 MB, free: 1.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.437e-05/0.01497, allocations: 79.31 kB / 447 MB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.957e-05/0.01504, allocations: 20.62 kB / 447.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.01508, allocations: 24.48 kB / 447.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01508, allocations: 0 / 447.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of Templates: time 0.1632/0.1783, allocations: 2.026 MB / 449.1 MB, free: 21.28 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.476604960858822]