Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001722/0.001722, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002588/0.002588, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.519/1.519, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.2324/0.2324, allocations: 46.98 MB / 361.6 MB, free: 4.02 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 64.09 kB / 0.4974 GB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3173, allocations: 66.04 MB / 0.5619 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003405/0.3207, allocations: 1.716 MB / 0.5636 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3226, allocations: 0.9714 MB / 0.5645 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.178e-05/0.3227, allocations: 0 / 0.5645 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.323, allocations: 95.67 kB / 0.5646 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.3234, allocations: 111.6 kB / 0.5647 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.3236, allocations: 79.67 kB / 0.5648 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.3238, allocations: 111.7 kB / 0.5649 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.3239, allocations: 11.94 kB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.423e-05/0.324, allocations: 59.7 kB / 0.565 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.3241, allocations: 55.81 kB / 0.565 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.3241, allocations: 8 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3242, allocations: 47.97 kB / 0.5651 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.3243, allocations: 19.92 kB / 0.5651 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.3243, allocations: 31.75 kB / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.3246, allocations: 129.8 kB / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3246, allocations: 0 / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3246, allocations: 0 / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3246, allocations: 0 / 0.5652 GB, free: 0.7188 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005938/0.3252, allocations: 361.4 kB / 0.5656 GB, free: 344 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3252, allocations: 8.031 kB / 0.5656 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.3253, allocations: 16.84 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.3256, allocations: 158.3 kB / 0.5658 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3256, allocations: 384 / 0.5658 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.3256, allocations: 8.125 kB / 0.5658 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3257, allocations: 57.66 kB / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3258, allocations: 3.938 kB / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3258, allocations: 0 / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3258, allocations: 0 / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.738e-05/0.3259, allocations: 19.98 kB / 0.5658 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.3262, allocations: 240.5 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.3264, allocations: 62.67 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.3265, allocations: 20.8 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3265, allocations: 7.984 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.3267, allocations: 63.39 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.3267, allocations: 0 / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005964/0.3273, allocations: 189.6 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.3273, allocations: 55.34 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.3276, allocations: 223.6 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3276, allocations: 29.7 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.3277, allocations: 112.1 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.3277, allocations: 23.8 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.3278, allocations: 25.7 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.3279, allocations: 330.8 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.328, allocations: 24.05 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.712e-05/0.3281, allocations: 37.7 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.3282, allocations: 61.64 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3282, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002114/0.3284, allocations: 113.5 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3285, allocations: 7.938 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3285, allocations: 4 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3285, allocations: 0 / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/0.3286, allocations: 15.98 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3286, allocations: 0 / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/0.3286, allocations: 8 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3286, allocations: 4 kB / 0.5674 GB, free: 14.28 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 (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 0.0001186/0.3288, allocations: 126.3 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.3288, allocations: 19.89 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.3291, allocations: 131 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3291, allocations: 4 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3291, allocations: 0 / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3291, allocations: 0 / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.3296, allocations: 350.9 kB / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3296, allocations: 0 / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.3296, allocations: 11.94 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3296, allocations: 4 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3296, allocations: 0 / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3296, allocations: 4.312 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3296, allocations: 3.938 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.3299, allocations: 224.4 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.3299, allocations: 11.91 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.33, allocations: 4 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.33, allocations: 4 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.3301, allocations: 11.92 kB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.3301, allocations: 4 kB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.3303, allocations: 177.1 kB / 0.5685 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3303, allocations: 0 / 0.5685 GB, free: 13.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.3306, allocations: 27.94 kB / 0.5685 GB, free: 13.1 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: 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.001893/0.3325, allocations: 497 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.3327, allocations: 59.91 kB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3327, allocations: 8.062 kB / 0.569 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.37e-05/0.3328, allocations: 31.92 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3331, allocations: 38.16 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.3337, allocations: 277 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.3338, allocations: 96.67 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.3338, allocations: 15.44 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3338, allocations: 4.062 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of Templates: time 0.004285/0.3381, allocations: 2.048 MB / 0.5715 GB, free: 10.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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: 7.944863711949438]