Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001579/0.001579, allocations: 107.6 kB / 21.18 MB, free: 0.6758 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.001739/0.001739, allocations: 206.8 kB / 24.48 MB, free: 3.973 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.555/1.555, allocations: 230.6 MB / 258.2 MB, free: 7.824 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.2445/0.2445, allocations: 46.96 MB / 361.6 MB, free: 4.055 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.Test31,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.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3101, allocations: 66.04 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003101/0.3132, allocations: 1.605 MB / 0.5634 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3143, allocations: 0.5388 MB / 0.5639 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.3143, allocations: 0 / 0.5639 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.3147, allocations: 123.6 kB / 0.5641 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.315, allocations: 131.5 kB / 0.5642 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.3153, allocations: 115 kB / 0.5643 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.3155, allocations: 103.7 kB / 0.5644 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3156, allocations: 19.64 kB / 0.5644 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.59e-05/0.3157, allocations: 47.88 kB / 0.5644 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.3158, allocations: 91.7 kB / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.3158, allocations: 4 kB / 0.5645 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3159, allocations: 43.98 kB / 0.5646 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.847e-05/0.316, allocations: 35.84 kB / 0.5646 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.3161, allocations: 27.75 kB / 0.5646 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.3163, allocations: 118.2 kB / 0.5648 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3163, allocations: 4 kB / 0.5648 GB, free: 1.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.3163, allocations: 11.92 kB / 0.5648 GB, free: 1.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3163, allocations: 0 / 0.5648 GB, free: 1.191 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005702/0.3169, allocations: 365.3 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3169, allocations: 8.031 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.3169, allocations: 16.84 kB / 0.5651 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.3172, allocations: 162.3 kB / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3172, allocations: 4.375 kB / 0.5653 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.3172, allocations: 4.375 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3173, allocations: 57.8 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3173, allocations: 0 / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3174, allocations: 8 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3174, allocations: 0 / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.3175, allocations: 31.91 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.3179, allocations: 252.5 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.318, allocations: 42.56 kB / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.318, allocations: 20.94 kB / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.3181, allocations: 0 / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3181, allocations: 34.5 kB / 0.5657 GB, free: 96 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.875e-06/0.3181, allocations: 4 kB / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009615/0.3191, allocations: 249.6 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.3191, allocations: 55.41 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.3194, allocations: 267.8 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3194, allocations: 29.7 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.3195, allocations: 116.1 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.3195, allocations: 27.73 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.3196, allocations: 21.72 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3198, allocations: 334.8 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/0.3198, allocations: 27.98 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.118e-05/0.3199, allocations: 35.88 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.3201, allocations: 72.83 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3201, allocations: 3.938 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000239/0.3203, allocations: 121.8 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3204, allocations: 4 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3204, allocations: 4.078 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3204, allocations: 0 / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.3205, allocations: 16.03 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.3205, allocations: 7.922 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/0.3205, allocations: 7.984 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3206, allocations: 7.938 kB / 0.5671 GB, free: 14.64 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 0.0001268/0.3207, allocations: 143.1 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.3207, allocations: 15.91 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.321, allocations: 131 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.321, allocations: 3.938 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.321, allocations: 0 / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3211, allocations: 4 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005603/0.3216, allocations: 370.8 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3216, allocations: 4.031 kB / 0.5677 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.616e-05/0.3217, allocations: 19.98 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3217, allocations: 0 / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3217, allocations: 4 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3217, allocations: 7.875 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3217, allocations: 0 / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.322, allocations: 216.3 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.322, allocations: 11.91 kB / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.3221, allocations: 7.984 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.3221, allocations: 11.94 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.3222, allocations: 7.984 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.3222, allocations: 0 / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.3224, allocations: 212.1 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3224, allocations: 0 / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.3227, allocations: 27.92 kB / 0.5682 GB, free: 13.39 MB / 414.1 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.001848/0.3245, allocations: 491.2 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.3248, allocations: 75.94 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3248, allocations: 0 / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.924e-05/0.3249, allocations: 40.06 kB / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.3252, allocations: 23.86 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006781/0.3259, allocations: 358 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.326, allocations: 109.1 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.3261, allocations: 15.38 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3261, allocations: 0 / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of Templates: time 0.004259/0.3303, allocations: 1.998 MB / 0.5712 GB, free: 10.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.007021850004094]