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.001398/0.001398, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001088/0.001088, allocations: 170 kB / 24.91 MB, free: 9.199 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.9654/0.9654, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.245/0.245, allocations: 32.81 MB / 294.6 MB, free: 1.18 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|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.[0-9,]+.|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.462e-06/1.462e-06, allocations: 0 / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029e-05/1.175e-05, allocations: 2.969 kB / 323.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002149/0.002161, allocations: 1.64 MB / 324.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006389/0.0028, allocations: 0.5452 MB / 325.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.002843, allocations: 0 / 325.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.003012, allocations: 31.78 kB / 325.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.003189, allocations: 75.62 kB / 325.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.003533, allocations: 91.58 kB / 325.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.003716, allocations: 83.75 kB / 325.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.003808, allocations: 11.92 kB / 325.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.003891, allocations: 35.91 kB / 325.8 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.343e-05/0.003964, allocations: 27.91 kB / 325.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.003976, allocations: 8 kB / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.004084, allocations: 91.88 kB / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.004116, allocations: 19.91 kB / 325.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.004139, allocations: 12.56 kB / 325.9 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.004309, allocations: 155.4 kB / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.00431, allocations: 0 / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004311, allocations: 0 / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.515e-06/0.004313, allocations: 0 / 326.1 MB, free: 6.84 MB / 298.7 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.0002873/0.004601, allocations: 297.5 kB / 326.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.004628, allocations: 12.03 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.004653, allocations: 8.922 kB / 326.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.004777, allocations: 145.6 kB / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.004784, allocations: 384 / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.004801, allocations: 8.375 kB / 326.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.227e-05/0.004894, allocations: 90.36 kB / 326.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.004901, allocations: 4.188 kB / 326.6 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.004909, allocations: 8.125 kB / 326.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.004913, allocations: 0 / 326.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.004936, allocations: 11.98 kB / 326.6 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.005129, allocations: 179 kB / 326.8 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.841e-05/0.005187, allocations: 45.38 kB / 326.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.005203, allocations: 8.859 kB / 326.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.005216, allocations: 0 / 326.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.005237, allocations: 38.69 kB / 326.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 6.61e-07/0.005238, allocations: 0 / 326.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000249/0.005487, allocations: 113.4 kB / 327 MB, free: 5.777 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.005521, allocations: 89.05 kB / 327.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.005611, allocations: 147 kB / 327.2 MB, free: 5.516 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.00562, allocations: 25.7 kB / 327.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.005648, allocations: 92.08 kB / 327.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.005664, allocations: 35.77 kB / 327.4 MB, free: 5.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.005691, allocations: 21.72 kB / 327.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.005766, allocations: 322.8 kB / 327.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.005779, allocations: 6.828 kB / 327.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.005811, allocations: 51.39 kB / 327.8 MB, free: 4.934 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.772e-05/0.005849, allocations: 34.62 kB / 327.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.005849, allocations: 0 / 327.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.152e-05/0.005911, allocations: 72.38 kB / 327.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.00592, allocations: 8 kB / 327.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.005925, allocations: 80 / 327.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.005935, allocations: 0 / 327.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.005996, allocations: 23.95 kB / 327.9 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.006, allocations: 3.984 kB / 327.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.006019, allocations: 4 kB / 327.9 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.006024, allocations: 0 / 327.9 MB, free: 4.777 MB / 298.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 (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 5.472e-05/0.006079, allocations: 116.7 kB / 328 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.006099, allocations: 11.92 kB / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.865e-05/0.006188, allocations: 74.39 kB / 328.1 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.00619, allocations: 0 / 328.1 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.006191, allocations: 0 / 328.1 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006194, allocations: 4 kB / 328.1 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.006399, allocations: 286.6 kB / 328.4 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.0064, allocations: 384 / 328.4 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.006432, allocations: 19.88 kB / 328.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.006433, allocations: 0 / 328.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.006438, allocations: 4 kB / 328.4 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.00644, allocations: 7.984 kB / 328.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.00644, allocations: 0 / 328.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.313e-05/0.006514, allocations: 151.5 kB / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.006521, allocations: 7.938 kB / 328.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.006533, allocations: 4 kB / 328.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.082e-05/0.006563, allocations: 8 kB / 328.6 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.006586, allocations: 7.984 kB / 328.6 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.006588, allocations: 0 / 328.6 MB, free: 4.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.875e-05/0.006617, allocations: 35.66 kB / 328.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006617, allocations: 0 / 328.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001472/0.006764, allocations: 43.86 kB / 328.7 MB, free: 3.949 MB / 298.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 (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.001179/0.007943, allocations: 0.6376 MB / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.528e-05/0.008018, allocations: 36.83 kB / 329.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.00802, allocations: 7.938 kB / 329.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.166e-05/0.008042, allocations: 24.78 kB / 329.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.008172, allocations: 26.28 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.008425, allocations: 182.9 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.375e-05/0.008459, allocations: 67.33 kB / 329.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.87e-05/0.008498, allocations: 20.62 kB / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.008561, allocations: 75.36 kB / 329.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008562, allocations: 0 / 329.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of Templates: time 0.003294/0.01186, allocations: 2.23 MB / 332 MB, free: 0.9258 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] 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","",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.0538401836529374]