Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0009826/0.0009826, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001077/0.001077, allocations: 165.3 kB / 25.61 MB, free: 8.578 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.9268/0.9268, allocations: 177.1 MB / 206 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1368/0.1368, allocations: 34.26 MB / 296.8 MB, free: 14 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.06e-05, allocations: 2.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002543/0.002564, allocations: 1.618 MB / 380.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.003514, allocations: 0.5336 MB / 381.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.717e-05/0.003591, allocations: 4 kB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.003839, allocations: 23.84 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.004142, allocations: 79.56 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.004444, allocations: 115.6 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.004587, allocations: 63.84 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.004718, allocations: 15.84 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.334e-05/0.004801, allocations: 31.84 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.373e-05/0.004865, allocations: 15.98 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.004879, allocations: 8 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.142e-05/0.00496, allocations: 35.86 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.005007, allocations: 11.94 kB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.005032, allocations: 15.91 kB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.005183, allocations: 67.75 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.005185, allocations: 0 / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005186, allocations: 0 / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.005191, allocations: 4 kB / 381.9 MB, free: 20.74 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000351/0.005542, allocations: 400.2 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.005577, allocations: 8.031 kB / 382.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.005614, allocations: 12.89 kB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.00574, allocations: 154.2 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.00575, allocations: 4.375 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.005767, allocations: 4.375 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.997e-05/0.005857, allocations: 46.95 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.005867, allocations: 192 / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.005876, allocations: 12.12 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.005881, allocations: 0 / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.005905, allocations: 7.984 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.006132, allocations: 248.4 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.006269, allocations: 47.03 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.006285, allocations: 11.69 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.0063, allocations: 0 / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.006317, allocations: 37.33 kB / 382.9 MB, free: 19.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.006318, allocations: 3.984 kB / 382.9 MB, free: 19.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003207/0.006639, allocations: 101.5 kB / 383 MB, free: 19.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.006663, allocations: 55.41 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.006749, allocations: 192.6 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.191e-06/0.006755, allocations: 25.7 kB / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.006791, allocations: 146.8 kB / 383.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.006812, allocations: 15.86 kB / 383.4 MB, free: 19.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.006849, allocations: 31.36 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.006899, allocations: 0.4884 MB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.006916, allocations: 11.92 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.364e-05/0.00693, allocations: 4 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.537e-05/0.006965, allocations: 19.88 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.006967, allocations: 4 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.058e-05/0.007048, allocations: 61.58 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.00706, allocations: 4 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.007064, allocations: 0 / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.007075, allocations: 4 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.007125, allocations: 15.98 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.007128, allocations: 3.938 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.007152, allocations: 0 / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.007157, allocations: 4 kB / 384.1 MB, free: 18.39 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 (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 4.963e-05/0.007207, allocations: 160.5 kB / 384.2 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.007237, allocations: 11.89 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.007354, allocations: 74.06 kB / 384.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007356, allocations: 0 / 384.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.007358, allocations: 0 / 384.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007361, allocations: 0 / 384.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.007602, allocations: 302 kB / 384.6 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.007606, allocations: 0 / 384.6 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.007671, allocations: 11.98 kB / 384.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.007676, allocations: 0 / 384.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.007687, allocations: 0 / 384.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.007692, allocations: 4 kB / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007693, allocations: 0 / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.00781, allocations: 211.9 kB / 384.8 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.007821, allocations: 8.016 kB / 384.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.007836, allocations: 8 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.983e-05/0.007895, allocations: 4 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.007923, allocations: 7.984 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.007929, allocations: 0 / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.768e-05/0.007976, allocations: 154.2 kB / 385 MB, free: 17.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007976, allocations: 0 / 385 MB, free: 17.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002445/0.008221, allocations: 8 kB / 385 MB, free: 17.38 MB / 314.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.001026/0.009246, allocations: 386.6 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.951e-05/0.009336, allocations: 23.67 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009338, allocations: 0 / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.554e-05/0.009363, allocations: 19.62 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.009648, allocations: 25.3 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.009945, allocations: 172.5 kB / 385.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.885e-05/0.009974, allocations: 67.2 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.829e-05/0.01001, allocations: 15.92 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.01006, allocations: 74.2 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01006, allocations: 0 / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of Templates: time 0.002892/0.01295, allocations: 1.289 MB / 387.1 MB, free: 15.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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: 2.8865388832055032]