Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001497/0.001497, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001793/0.001793, allocations: 170.5 kB / 25.61 MB, free: 8.914 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.954/0.954, allocations: 177.2 MB / 206.1 MB, free: 4.512 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.1413/0.1413, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.245e-05, allocations: 10.14 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.001926/0.001949, allocations: 1.673 MB / 379 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006106/0.002559, allocations: 0.5297 MB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.002615, allocations: 0 / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.002828, allocations: 47.7 kB / 379.5 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.003042, allocations: 79.56 kB / 379.6 MB, free: 23.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.003222, allocations: 95.62 kB / 379.7 MB, free: 23.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.003332, allocations: 95.73 kB / 379.8 MB, free: 23.06 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.14e-05/0.003414, allocations: 12 kB / 379.8 MB, free: 23.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.251e-05/0.003466, allocations: 47.88 kB / 379.9 MB, free: 23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.003533, allocations: 23.92 kB / 379.9 MB, free: 22.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.003544, allocations: 4 kB / 379.9 MB, free: 22.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.255e-05/0.003607, allocations: 51.91 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.485e-05/0.003642, allocations: 19.92 kB / 380 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.003663, allocations: 27.84 kB / 380 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.003774, allocations: 91.66 kB / 380.1 MB, free: 22.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003776, allocations: 0 / 380.1 MB, free: 22.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003776, allocations: 0 / 380.1 MB, free: 22.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.00378, allocations: 0 / 380.1 MB, free: 22.79 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002541/0.004034, allocations: 432 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.004065, allocations: 11.98 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.004095, allocations: 20.83 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.38e-05/0.004189, allocations: 144.4 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.004197, allocations: 8.375 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.004214, allocations: 8.375 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.037e-05/0.004294, allocations: 66.88 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.004303, allocations: 4.141 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.004313, allocations: 4.125 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.004318, allocations: 4 kB / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.697e-05/0.004345, allocations: 19.91 kB / 380.8 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.004546, allocations: 280.3 kB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.497e-05/0.004601, allocations: 62.97 kB / 381.1 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.004617, allocations: 15.62 kB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.004633, allocations: 11.98 kB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.004646, allocations: 37.39 kB / 381.2 MB, free: 21.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.004647, allocations: 0 / 381.2 MB, free: 21.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004088/0.005056, allocations: 210 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/0.005074, allocations: 55.34 kB / 381.4 MB, free: 21.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.286e-05/0.005137, allocations: 204.9 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.005143, allocations: 25.7 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.00517, allocations: 154.8 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.005191, allocations: 51.58 kB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.005217, allocations: 31.36 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.4e-05/0.005261, allocations: 0.5039 MB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.005283, allocations: 11.98 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.413e-05/0.005307, allocations: 19.36 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.055e-05/0.005378, allocations: 39.69 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.005379, allocations: 0 / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.518e-05/0.005464, allocations: 101.5 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.005474, allocations: 4 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.005477, allocations: 0 / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.794e-06/0.005485, allocations: 8 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.895e-05/0.005554, allocations: 23.98 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.005556, allocations: 0 / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.00558, allocations: 3.938 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.005588, allocations: 4 kB / 382.6 MB, free: 20.05 MB / 314.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 (13): * Single equations (assignments): 13 * 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 4.123e-05/0.005629, allocations: 164.6 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.005652, allocations: 15.95 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.005779, allocations: 118.3 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.005781, allocations: 0 / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-06/0.005783, allocations: 0 / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.005786, allocations: 4 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.006023, allocations: 385.5 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006025, allocations: 0 / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.006071, allocations: 27.92 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.006073, allocations: 0 / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.006079, allocations: 4 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.00608, allocations: 3.938 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.006082, allocations: 0 / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.044e-05/0.006172, allocations: 253.9 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.006182, allocations: 11.98 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.006193, allocations: 8 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.362e-05/0.006227, allocations: 11.92 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.00625, allocations: 7.984 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.006255, allocations: 7.938 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.006291, allocations: 147.2 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006291, allocations: 0 / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001631/0.006454, allocations: 31.92 kB / 383.8 MB, free: 18.8 MB / 314.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 (13): * Single equations (assignments): 13 * 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.0009356/0.007389, allocations: 439.8 kB / 384.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.475e-05/0.007484, allocations: 63.53 kB / 384.3 MB, free: 18.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007486, allocations: 0 / 384.3 MB, free: 18.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.831e-05/0.007514, allocations: 35.61 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.007707, allocations: 32.19 kB / 384.4 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.007975, allocations: 224.3 kB / 384.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.456e-05/0.008, allocations: 71.19 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.735e-05/0.008037, allocations: 24.53 kB / 384.7 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.008084, allocations: 86.2 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of SimCode: time 5.1e-07/0.008085, allocations: 0 / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of Templates: time 0.002932/0.01102, allocations: 1.726 MB / 386.5 MB, free: 16.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.273919459898025]