Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.002139/0.002139, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.0026/0.0026, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2337/0.2337, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0 / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.232e-05/4.516e-05, allocations: 2.312 kB / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003503/0.003548, allocations: 1.707 MB / 348.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.005012, allocations: 0.7766 MB / 349.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.005103, allocations: 3.938 kB / 349.5 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.005529, allocations: 39.77 kB / 349.5 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.005806, allocations: 59.69 kB / 349.6 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.006077, allocations: 79.72 kB / 349.7 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.006277, allocations: 107.6 kB / 349.8 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.006414, allocations: 4.234 kB / 349.8 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.006525, allocations: 47.84 kB / 349.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.637e-05/0.006621, allocations: 31.89 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.006647, allocations: 7.938 kB / 349.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.00675, allocations: 43.92 kB / 349.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.006822, allocations: 15.92 kB / 349.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.006884, allocations: 19.92 kB / 350 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.007123, allocations: 103.6 kB / 350.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.007132, allocations: 8 kB / 350.1 MB, free: 6.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.007134, allocations: 0 / 350.1 MB, free: 6.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.007143, allocations: 0 / 350.1 MB, free: 6.656 MB / 282.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.0006801/0.007824, allocations: 431.7 kB / 350.5 MB, free: 6.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.007875, allocations: 8.031 kB / 350.5 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.007945, allocations: 12.83 kB / 350.5 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.008187, allocations: 148.9 kB / 350.7 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.008204, allocations: 384 / 350.7 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.008239, allocations: 8.375 kB / 350.7 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.008387, allocations: 53.61 kB / 350.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.008403, allocations: 0 / 350.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.008417, allocations: 7.984 kB / 350.7 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.008423, allocations: 0 / 350.7 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.634e-05/0.0085, allocations: 16 kB / 350.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.008874, allocations: 299.6 kB / 351 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.009041, allocations: 63.17 kB / 351.1 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.009094, allocations: 23.67 kB / 351.1 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.009116, allocations: 0 / 351.1 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.009273, allocations: 72.98 kB / 351.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.009274, allocations: 0 / 351.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005731/0.009848, allocations: 177.4 kB / 351.4 MB, free: 5.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.009882, allocations: 51.41 kB / 351.4 MB, free: 5.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.01006, allocations: 229.8 kB / 351.6 MB, free: 4.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.01007, allocations: 29.7 kB / 351.7 MB, free: 4.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.01015, allocations: 146.9 kB / 351.8 MB, free: 4.734 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.01019, allocations: 23.84 kB / 351.8 MB, free: 4.711 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.01023, allocations: 27.38 kB / 351.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.01034, allocations: 0.504 MB / 352.4 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.201e-05/0.01039, allocations: 23.98 kB / 352.4 MB, free: 4.137 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.484e-05/0.01044, allocations: 39.36 kB / 352.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.461e-05/0.01054, allocations: 71.3 kB / 352.5 MB, free: 4.012 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01054, allocations: 4 kB / 352.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.01069, allocations: 97.62 kB / 352.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.0107, allocations: 4 kB / 352.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01071, allocations: 0 / 352.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.01073, allocations: 4 kB / 352.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.01083, allocations: 20.3 kB / 352.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.01083, allocations: 0 / 352.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.143e-05/0.01088, allocations: 7.938 kB / 352.6 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.01088, allocations: 4 kB / 352.6 MB, free: 3.867 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.585e-05/0.01097, allocations: 177.5 kB / 352.8 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.01099, allocations: 11.91 kB / 352.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.01124, allocations: 122.5 kB / 352.9 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01124, allocations: 0 / 352.9 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.01124, allocations: 4 kB / 352.9 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.01125, allocations: 3.984 kB / 352.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.01161, allocations: 401 kB / 353.3 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01161, allocations: 4 kB / 353.3 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.01164, allocations: 8 kB / 353.3 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01164, allocations: 4.031 kB / 353.3 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.01166, allocations: 8 kB / 353.4 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.01166, allocations: 7.875 kB / 353.4 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01166, allocations: 0 / 353.4 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.01186, allocations: 267.5 kB / 353.6 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.01188, allocations: 15.91 kB / 353.6 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.0119, allocations: 4 kB / 353.6 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.01198, allocations: 3.938 kB / 353.6 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.01203, allocations: 7.984 kB / 353.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.01205, allocations: 8 kB / 353.7 MB, free: 2.746 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.612e-05/0.01213, allocations: 159.2 kB / 353.8 MB, free: 2.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01213, allocations: 4 kB / 353.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.01237, allocations: 20 kB / 353.8 MB, free: 2.566 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003184/0.01556, allocations: 0.4933 MB / 354.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.01578, allocations: 67.61 kB / 354.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01578, allocations: 0 / 354.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.504e-05/0.01586, allocations: 39.61 kB / 354.4 MB, free: 2.062 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.01625, allocations: 37.45 kB / 354.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.01678, allocations: 213 kB / 354.7 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.833e-05/0.01685, allocations: 83.31 kB / 354.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.809e-05/0.0169, allocations: 16.92 kB / 354.8 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.01694, allocations: 20.48 kB / 354.8 MB, free: 1.648 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.01694, allocations: 0 / 354.8 MB, free: 1.648 MB / 282.7 MB Notification: Performance of Templates: time 0.005368/0.02231, allocations: 1.821 MB / 356.6 MB, free: 15.85 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.7096843851031736]