Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.002528/0.002528, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002934/0.002934, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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.578/1.578, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.4226/0.4226, allocations: 34.26 MB / 295.3 MB, free: 0.6875 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.119e-05, allocations: 2.875 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003268/0.003299, allocations: 1.622 MB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.004441, allocations: 0.5298 MB / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.004493, allocations: 4 kB / 379.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.004835, allocations: 123.6 kB / 379.6 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.005179, allocations: 135.4 kB / 379.7 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.00546, allocations: 91.62 kB / 379.8 MB, free: 436 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.005644, allocations: 95.8 kB / 379.9 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.678e-05/0.00573, allocations: 7.984 kB / 379.9 MB, free: 332 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.005842, allocations: 67.75 kB / 380 MB, free: 264 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.005982, allocations: 79.89 kB / 380.1 MB, free: 184 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.006003, allocations: 7.938 kB / 380.1 MB, free: 176 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.006104, allocations: 43.92 kB / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.006168, allocations: 31.91 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.006206, allocations: 19.92 kB / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.006447, allocations: 115.6 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.00645, allocations: 0 / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006451, allocations: 0 / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.006456, allocations: 0 / 380.3 MB, free: 15.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006082/0.007064, allocations: 483.2 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.007099, allocations: 12.03 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.007154, allocations: 16.84 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.007376, allocations: 152.4 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.007385, allocations: 384 / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.007409, allocations: 8.375 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.007537, allocations: 42.25 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.007551, allocations: 4.188 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.007561, allocations: 4.125 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.007567, allocations: 3.984 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.007656, allocations: 27.92 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.008115, allocations: 327.7 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.008231, allocations: 39.06 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.008288, allocations: 27.7 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.00831, allocations: 0 / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.008346, allocations: 41.33 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.008347, allocations: 0 / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008623/0.00921, allocations: 217.2 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.009255, allocations: 51.41 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.009555, allocations: 290.8 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.00958, allocations: 29.7 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.009705, allocations: 170.8 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.009744, allocations: 27.75 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.009802, allocations: 35.36 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002738/0.01008, allocations: 0.5079 MB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.01014, allocations: 19.98 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.277e-05/0.01022, allocations: 24 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.01036, allocations: 67.66 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01036, allocations: 3.938 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002045/0.01057, allocations: 93.59 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.01058, allocations: 4 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01059, allocations: 0 / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.0106, allocations: 3.984 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.0107, allocations: 16 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.0107, allocations: 4 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.01074, allocations: 11.98 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.01075, allocations: 4 kB / 383 MB, free: 13.03 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 (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 prepare postOptimizeDAE: time 0.000128/0.01088, allocations: 168.5 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.543e-05/0.01093, allocations: 15.91 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.01121, allocations: 107.1 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01121, allocations: 0 / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01122, allocations: 4 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01122, allocations: 0 / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006109/0.01183, allocations: 433.4 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01183, allocations: 0 / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.01191, allocations: 19.92 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01191, allocations: 4 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.01192, allocations: 0 / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01192, allocations: 80 / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.01193, allocations: 7.984 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.01225, allocations: 255.5 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.01227, allocations: 11.91 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.01229, allocations: 4 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.01236, allocations: 12.02 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.01241, allocations: 12.34 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.01241, allocations: 3.984 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.01259, allocations: 204.1 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01259, allocations: 0 / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.01285, allocations: 23.98 kB / 384.2 MB, free: 11.69 MB / 362.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 (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.003384/0.01623, allocations: 489.9 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.01648, allocations: 67.64 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01648, allocations: 0 / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.425e-05/0.01658, allocations: 39.61 kB / 384.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.01693, allocations: 30.73 kB / 384.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/0.01753, allocations: 283.2 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.01765, allocations: 101.1 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.808e-05/0.01771, allocations: 24.95 kB / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.01775, allocations: 12.5 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01775, allocations: 4 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of Templates: time 0.005002/0.02275, allocations: 1.388 MB / 386.7 MB, free: 9.426 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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: 5.01508735306561]