Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001298/0.001298, allocations: 107 kB / 21.18 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.001386/0.001386, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2197/0.2197, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.89 kB / 0.4974 GB, free: 7.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3251, allocations: 66.04 MB / 0.5619 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003239/0.3284, allocations: 1.749 MB / 0.5636 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.3302, allocations: 0.9744 MB / 0.5645 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.248e-05/0.3302, allocations: 7.938 kB / 0.5646 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.3306, allocations: 111.6 kB / 0.5647 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.331, allocations: 127.5 kB / 0.5648 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.3312, allocations: 79.67 kB / 0.5649 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.3314, allocations: 139.6 kB / 0.565 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3315, allocations: 17.58 kB / 0.565 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3316, allocations: 63.77 kB / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.3317, allocations: 79.72 kB / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3318, allocations: 8 kB / 0.5652 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3319, allocations: 59.98 kB / 0.5652 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.332, allocations: 39.89 kB / 0.5652 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.332, allocations: 39.62 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.3323, allocations: 165.7 kB / 0.5654 GB, free: 472 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3323, allocations: 3.938 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3323, allocations: 0 / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.3323, allocations: 0 / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00072/0.3331, allocations: 397.2 kB / 0.5658 GB, free: 40 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3331, allocations: 8.031 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.3331, allocations: 16.84 kB / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.3335, allocations: 167.2 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3335, allocations: 4.375 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.3335, allocations: 12.12 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.3337, allocations: 69.66 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.3338, allocations: 3.953 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3338, allocations: 0 / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.3338, allocations: 4 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.3339, allocations: 47.89 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.3344, allocations: 276.3 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.3347, allocations: 70.55 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.112e-05/0.3348, allocations: 28.84 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.3348, allocations: 4 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.335, allocations: 87.25 kB / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.335, allocations: 0 / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000961/0.336, allocations: 321.2 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.336, allocations: 55.34 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.3363, allocations: 271.7 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.3363, allocations: 29.7 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.3364, allocations: 120.1 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.3365, allocations: 39.64 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.3365, allocations: 33.7 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3367, allocations: 330.8 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.199e-05/0.3367, allocations: 39.98 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.3369, allocations: 61.62 kB / 0.5678 GB, free: 13.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.3371, allocations: 109.3 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3371, allocations: 7.938 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003081/0.3374, allocations: 165.6 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3374, allocations: 4 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3374, allocations: 4 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3374, allocations: 0 / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.3375, allocations: 27.92 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3375, allocations: 7.938 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.3376, allocations: 8.031 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.3376, allocations: 4.109 kB / 0.5682 GB, free: 13.49 MB / 414.1 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 (16): * Single equations (assignments): 16 * 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.0001253/0.3377, allocations: 138.6 kB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.3377, allocations: 19.86 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.3381, allocations: 199 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3382, allocations: 4 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3382, allocations: 3.938 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3382, allocations: 0 / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006642/0.3388, allocations: 467.6 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3388, allocations: 4 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.3389, allocations: 19.94 kB / 0.569 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3389, allocations: 7.938 kB / 0.569 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3389, allocations: 7.984 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3389, allocations: 4 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3389, allocations: 0 / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.3393, allocations: 280.1 kB / 0.5693 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.3393, allocations: 15.86 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.3394, allocations: 11.98 kB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.3395, allocations: 4.062 kB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.3395, allocations: 15.98 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.3395, allocations: 4 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.3397, allocations: 201.5 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3397, allocations: 0 / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003027/0.34, allocations: 35.94 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002131/0.3422, allocations: 0.552 MB / 0.5701 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.3424, allocations: 107.9 kB / 0.5702 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3424, allocations: 0 / 0.5702 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.3426, allocations: 55.86 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.3429, allocations: 53.03 kB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.3436, allocations: 336.7 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.3437, allocations: 115.4 kB / 0.5707 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.36e-05/0.3438, allocations: 29.41 kB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.3438, allocations: 19.44 kB / 0.5708 GB, free: 10.94 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3438, allocations: 0 / 0.5708 GB, free: 10.94 MB / 414.1 MB Notification: Performance of Templates: time 0.006378/0.3502, allocations: 2.471 MB / 0.5732 GB, free: 8.496 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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: 4.967268595006317]