Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001278/0.001278, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.001448/0.001448, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 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.248/0.248, allocations: 46.97 MB / 361.6 MB, free: 4.004 MB / 286.1 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003084/0.003084, allocations: 59.91 kB / 0.4973 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3272, allocations: 66.04 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003233/0.3304, allocations: 1.613 MB / 0.5634 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.3323, allocations: 1.244 MB / 0.5646 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.3324, allocations: 0 / 0.5646 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.3326, allocations: 27.78 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.3329, allocations: 87.61 kB / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.3333, allocations: 123.5 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.3334, allocations: 79.77 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3336, allocations: 18.66 kB / 0.5649 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.711e-05/0.3336, allocations: 31.91 kB / 0.565 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.3337, allocations: 31.8 kB / 0.565 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.3338, allocations: 8 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.3339, allocations: 99.88 kB / 0.5651 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.334, allocations: 15.92 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.334, allocations: 23.86 kB / 0.5651 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.3343, allocations: 155.2 kB / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3343, allocations: 0 / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3343, allocations: 4 kB / 0.5653 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.3343, allocations: 0 / 0.5653 GB, free: 0.5781 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005378/0.3348, allocations: 341.5 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3349, allocations: 12.02 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.3349, allocations: 12.89 kB / 0.5656 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.3351, allocations: 134.4 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3351, allocations: 4.375 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.3352, allocations: 8.359 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.3354, allocations: 109.2 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3354, allocations: 3.953 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3354, allocations: 4 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3354, allocations: 0 / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.3356, allocations: 39.91 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.336, allocations: 248.4 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.3361, allocations: 54.56 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.695e-05/0.3362, allocations: 20.97 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3362, allocations: 0 / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.3362, allocations: 34.56 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.3362, allocations: 4 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006971/0.3369, allocations: 201.7 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.337, allocations: 77.11 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.3372, allocations: 156.1 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3372, allocations: 29.7 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.3372, allocations: 96.12 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.3373, allocations: 27.75 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.3373, allocations: 29.7 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3375, allocations: 322.8 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.241e-05/0.3375, allocations: 35.97 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.3377, allocations: 71.39 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.3378, allocations: 68.83 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3378, allocations: 0 / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002398/0.3381, allocations: 105.6 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3381, allocations: 12.03 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3381, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3381, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.3382, allocations: 19.92 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3382, allocations: 4 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.3383, allocations: 11.92 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3383, allocations: 0 / 0.5675 GB, free: 14.12 MB / 414.1 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 9.84e-05/0.3384, allocations: 125.8 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.3384, allocations: 11.91 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.3387, allocations: 130.6 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3387, allocations: 3.984 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.3387, allocations: 0 / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3387, allocations: 11.88 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.3393, allocations: 330.2 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3393, allocations: 4 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.616e-05/0.3393, allocations: 19.98 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3393, allocations: 0 / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3393, allocations: 7.938 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.3393, allocations: 7.938 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3393, allocations: 0 / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.3396, allocations: 203.5 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.3397, allocations: 11.89 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.3397, allocations: 0 / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.3398, allocations: 7.938 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.3398, allocations: 7.984 kB / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.3398, allocations: 4 kB / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.3399, allocations: 121.9 kB / 0.5685 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3399, allocations: 0 / 0.5685 GB, free: 13.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.3402, allocations: 43.86 kB / 0.5685 GB, free: 13.02 MB / 414.1 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 (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.001873/0.3421, allocations: 0.5292 MB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.3423, allocations: 71.94 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3423, allocations: 3.938 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3424, allocations: 39.92 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.3428, allocations: 11.98 kB / 0.5691 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.3433, allocations: 235.7 kB / 0.5694 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.725e-05/0.3434, allocations: 83.67 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.3435, allocations: 23.42 kB / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3435, allocations: 0 / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of Templates: time 0.004554/0.348, allocations: 2.187 MB / 0.5716 GB, free: 10 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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: 8.176080696022836]