Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.0009179/0.0009179, allocations: 82.66 kB / 21.43 MB, free: 3.07 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.005154/0.005154, allocations: 173.6 kB / 24.83 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 1.067/1.067, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.3923/0.3923, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.418e-05/3.613e-05, allocations: 9.344 kB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002543/0.002579, allocations: 1.63 MB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008362/0.003415, allocations: 0.5181 MB / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.834e-05/0.003483, allocations: 0 / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.003721, allocations: 31.77 kB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.004009, allocations: 79.56 kB / 380.8 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.004232, allocations: 91.72 kB / 380.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.004373, allocations: 63.73 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.00448, allocations: 12 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.174e-05/0.004542, allocations: 23.92 kB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.0046, allocations: 27.91 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.004616, allocations: 7.938 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.387e-05/0.004689, allocations: 31.92 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.004741, allocations: 15.92 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.004767, allocations: 11.94 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.004917, allocations: 67.73 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004919, allocations: 0 / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.00492, allocations: 0 / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.004925, allocations: 0 / 381.1 MB, free: 15.74 MB / 362.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.0004128/0.005338, allocations: 408.2 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.005384, allocations: 16.03 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.005415, allocations: 8.891 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.005542, allocations: 136.4 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.00555, allocations: 4.375 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.005568, allocations: 384 / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.005673, allocations: 54.95 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.005682, allocations: 192 / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.005691, allocations: 4.125 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.005697, allocations: 3.938 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.005722, allocations: 7.984 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.005978, allocations: 252.3 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.006117, allocations: 43.05 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.006135, allocations: 15.67 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.006157, allocations: 0 / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.006179, allocations: 41.33 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.00618, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002806/0.006461, allocations: 89.59 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.006491, allocations: 55.41 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.0066, allocations: 193.9 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.006612, allocations: 25.7 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.006673, allocations: 154.8 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.006696, allocations: 15.8 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.006725, allocations: 23.38 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003996/0.007125, allocations: 0.4923 MB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.007138, allocations: 4 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.309e-05/0.007151, allocations: 7.984 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.007184, allocations: 19.69 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007185, allocations: 0 / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.78e-05/0.007253, allocations: 61.83 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.007266, allocations: 4 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.007273, allocations: 4 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.007282, allocations: 4 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.371e-05/0.007326, allocations: 19.92 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.00733, allocations: 0 / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.007345, allocations: 0 / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-06/0.007351, allocations: 4 kB / 383.3 MB, free: 13.4 MB / 362.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 7.012e-05/0.007421, allocations: 160.6 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.00744, allocations: 11.89 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.007544, allocations: 66.12 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.007548, allocations: 4 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.00755, allocations: 4 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.007553, allocations: 0 / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.007776, allocations: 294 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007777, allocations: 7.938 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.632e-05/0.007803, allocations: 11.98 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.007805, allocations: 0 / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.00781, allocations: 0 / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.007811, allocations: 0 / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.007813, allocations: 0 / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.958e-05/0.007913, allocations: 207.8 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.007922, allocations: 7.953 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.007932, allocations: 4 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.034e-05/0.007962, allocations: 8.188 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.007988, allocations: 3.984 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.007993, allocations: 4 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.316e-05/0.008046, allocations: 146.1 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008046, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001466/0.008192, allocations: 19.98 kB / 384.2 MB, free: 12.39 MB / 362.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.0008087/0.009001, allocations: 389.8 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.064e-05/0.009082, allocations: 31.62 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.009084, allocations: 0 / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.982e-05/0.009104, allocations: 19.67 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.009313, allocations: 26.88 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.009613, allocations: 174.6 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.318e-05/0.009656, allocations: 63.34 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.546e-05/0.009682, allocations: 8 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.009738, allocations: 78.19 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.009739, allocations: 0 / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of Templates: time 0.003/0.01274, allocations: 1.266 MB / 386.2 MB, free: 10.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.470438168849796]