Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001931/0.001931, 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.00236/0.00236, allocations: 214.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.544/1.544, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2285/0.2285, allocations: 46.97 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 71.89 kB / 0.4974 GB, free: 7.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3525, allocations: 66.03 MB / 0.5619 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003859/0.3564, allocations: 1.667 MB / 0.5635 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.3583, allocations: 0.955 MB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.3584, allocations: 0 / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.3588, allocations: 59.73 kB / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.3592, allocations: 111.6 kB / 0.5646 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.3594, allocations: 79.67 kB / 0.5647 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.3596, allocations: 107.7 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.245e-05/0.3597, allocations: 4.234 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.645e-05/0.3598, allocations: 43.78 kB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.3599, allocations: 55.75 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3599, allocations: 4 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.445e-05/0.36, allocations: 31.98 kB / 0.5649 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.3601, allocations: 23.86 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.3602, allocations: 23.86 kB / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.3604, allocations: 110 kB / 0.5651 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3604, allocations: 0 / 0.5651 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.3604, allocations: 7.984 kB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3604, allocations: 0 / 0.5651 GB, free: 0.8438 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00072/0.3612, allocations: 341.5 kB / 0.5654 GB, free: 492 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3612, allocations: 8.031 kB / 0.5654 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.3613, allocations: 12.84 kB / 0.5654 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.3616, allocations: 143.1 kB / 0.5656 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3616, allocations: 384 / 0.5656 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.3617, allocations: 8.125 kB / 0.5656 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.3619, allocations: 53.67 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3619, allocations: 4 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3619, allocations: 0 / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3619, allocations: 0 / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.762e-05/0.362, allocations: 19.92 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.3622, allocations: 133.3 kB / 0.5658 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.3624, allocations: 54.61 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/0.3624, allocations: 20.84 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3625, allocations: 0 / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.3626, allocations: 75.33 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.3626, allocations: 0 / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003134/0.363, allocations: 105.7 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.363, allocations: 51.41 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3632, allocations: 198.3 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3632, allocations: 29.64 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.264e-05/0.3633, allocations: 108.1 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.3634, allocations: 11.91 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.3634, allocations: 21.72 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3636, allocations: 318.8 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.304e-05/0.3636, allocations: 23.98 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.272e-05/0.3637, allocations: 29.7 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.3638, allocations: 49.64 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3638, allocations: 3.938 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.364, allocations: 89.47 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.364, allocations: 4 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.364, allocations: 0 / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.364, allocations: 4 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.3641, allocations: 16.02 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3641, allocations: 0 / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.3641, allocations: 7.938 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3642, allocations: 4 kB / 0.5669 GB, free: 14.75 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 (7): * Single equations (assignments): 7 * 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.0001172/0.3643, allocations: 125.8 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.3643, allocations: 11.89 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.3645, allocations: 98.86 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3645, allocations: 0 / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3645, allocations: 0 / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3646, allocations: 3.984 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.3647, allocations: 133.2 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3647, allocations: 0 / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.3647, allocations: 8 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3647, allocations: 3.938 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3647, allocations: 192 / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.3647, allocations: 4 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3647, allocations: 3.984 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.365, allocations: 121 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.365, allocations: 19.83 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.365, allocations: 0 / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.3651, allocations: 4 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.3651, allocations: 7.984 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3651, allocations: 4 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.3653, allocations: 152.2 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3653, allocations: 0 / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3655, allocations: 20 kB / 0.5676 GB, free: 13.97 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: 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 (6): * Single equations (assignments): 4 * 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.001685/0.3672, allocations: 446.2 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.3674, allocations: 47.92 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3674, allocations: 4.062 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/0.3675, allocations: 19.98 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.3678, allocations: 39.45 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.3684, allocations: 235.6 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.3685, allocations: 89.31 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.3685, allocations: 15.42 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3685, allocations: 0 / 0.5685 GB, free: 13.22 MB / 414.1 MB Notification: Performance of Templates: time 0.003964/0.3725, allocations: 1.745 MB / 0.5702 GB, free: 11.47 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.9756876949977595]