Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001704/0.001704, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002088/0.002088, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.3106/0.3106, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003245/0.003245, allocations: 79.88 kB / 0.4968 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3712, allocations: 65.99 MB / 0.5613 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.0033/0.3745, allocations: 1.741 MB / 0.563 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002644/0.3772, allocations: 1.734 MB / 0.5647 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.3772, allocations: 3.938 kB / 0.5647 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.3775, allocations: 39.77 kB / 0.5647 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.3779, allocations: 99.53 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.3781, allocations: 79.67 kB / 0.5649 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.3783, allocations: 99.75 kB / 0.565 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3784, allocations: 7.984 kB / 0.565 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.3785, allocations: 59.7 kB / 0.5651 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.3787, allocations: 43.78 kB / 0.5651 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.3787, allocations: 4 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.3789, allocations: 115.9 kB / 0.5652 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.3789, allocations: 15.92 kB / 0.5652 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.379, allocations: 35.73 kB / 0.5653 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.3793, allocations: 170.1 kB / 0.5654 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3793, allocations: 0 / 0.5654 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3793, allocations: 0 / 0.5654 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3793, allocations: 0 / 0.5654 GB, free: 0.7539 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.0007015/0.38, allocations: 438.5 kB / 0.5658 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3801, allocations: 8.031 kB / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.994e-05/0.3801, allocations: 12.84 kB / 0.5659 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.3805, allocations: 219.5 kB / 0.5661 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.3805, allocations: 384 / 0.5661 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.3806, allocations: 8.125 kB / 0.5661 GB, free: 0 / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.3808, allocations: 67.39 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3808, allocations: 4 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3808, allocations: 0 / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3808, allocations: 0 / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.359e-05/0.3809, allocations: 27.98 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.3813, allocations: 288.8 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.3815, allocations: 50.62 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.3816, allocations: 24.84 kB / 0.5665 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3816, allocations: 0 / 0.5665 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.3817, allocations: 67.39 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3817, allocations: 3.938 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000579/0.3823, allocations: 173.4 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.3824, allocations: 77.11 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.3826, allocations: 170.4 kB / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3826, allocations: 29.7 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.3827, allocations: 96.12 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.3827, allocations: 23.81 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.3827, allocations: 25.7 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3829, allocations: 326.8 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.3829, allocations: 19.94 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.66e-05/0.383, allocations: 46.56 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3831, allocations: 65.62 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3831, allocations: 0 / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.3833, allocations: 93.64 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3834, allocations: 7.984 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3834, allocations: 0 / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3834, allocations: 0 / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.3835, allocations: 28 kB / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3835, allocations: 0 / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.3835, allocations: 11.92 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.3835, allocations: 0 / 0.5677 GB, free: 14.14 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.0001159/0.3837, allocations: 125.8 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.3837, allocations: 7.953 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.3839, allocations: 110.3 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3839, allocations: 3.984 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.384, allocations: 4 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.384, allocations: 7.938 kB / 0.568 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.3844, allocations: 395.5 kB / 0.5684 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3844, allocations: 384 / 0.5684 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.3845, allocations: 11.98 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3845, allocations: 0 / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.3845, allocations: 19.88 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3845, allocations: 0 / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3845, allocations: 32 / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.3848, allocations: 204.4 kB / 0.5686 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.3848, allocations: 89.06 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.3848, allocations: 11.86 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.3849, allocations: 4 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.385, allocations: 4 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.385, allocations: 15.98 kB / 0.5687 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.3851, allocations: 123.9 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3851, allocations: 0 / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.3854, allocations: 47.86 kB / 0.5689 GB, free: 12.86 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 (8): * Single equations (assignments): 6 * 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.001974/0.3874, allocations: 0.534 MB / 0.5694 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.3876, allocations: 63.89 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3876, allocations: 0 / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.393e-05/0.3877, allocations: 23.98 kB / 0.5695 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3881, allocations: 30.56 kB / 0.5695 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.3885, allocations: 222.7 kB / 0.5697 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.3889, allocations: 0.7042 MB / 0.5704 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.867e-05/0.389, allocations: 16.88 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.389, allocations: 15.44 kB / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.389, allocations: 0 / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of Templates: time 0.006457/0.3955, allocations: 2.383 MB / 0.5728 GB, free: 9.023 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.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: 5.2890058546327055]