Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001675/0.001675, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 214.8 kB / 23.54 MB, free: 5.387 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 230.2 MB / 256.8 MB, free: 8.637 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2238/0.2238, allocations: 46.89 MB / 359.9 MB, free: 5.016 MB / 286.1 MB [Timeout remaining time 90] 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29") [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.002239/0.002239, allocations: 87.88 kB / 0.4951 GB, free: 8.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3046, allocations: 65.97 MB / 0.5595 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003322/0.3079, allocations: 1.729 MB / 0.5612 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.3097, allocations: 1.03 MB / 0.5622 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.168e-05/0.3098, allocations: 4 kB / 0.5622 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.3101, allocations: 43.7 kB / 0.5622 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.3104, allocations: 99.53 kB / 0.5623 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.3106, allocations: 71.73 kB / 0.5624 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.3108, allocations: 111.7 kB / 0.5625 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.3109, allocations: 7.984 kB / 0.5625 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/0.311, allocations: 39.8 kB / 0.5625 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.398e-05/0.3111, allocations: 43.77 kB / 0.5626 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3111, allocations: 4 kB / 0.5626 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.613e-05/0.3112, allocations: 39.98 kB / 0.5626 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.3113, allocations: 15.92 kB / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.3113, allocations: 35.73 kB / 0.5627 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.3115, allocations: 133.8 kB / 0.5628 GB, free: 1.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3115, allocations: 0 / 0.5628 GB, free: 1.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3115, allocations: 4 kB / 0.5628 GB, free: 1.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3115, allocations: 0 / 0.5628 GB, free: 1.766 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.0005626/0.3121, allocations: 422.6 kB / 0.5632 GB, free: 1.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3121, allocations: 8.031 kB / 0.5632 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.3122, allocations: 12.89 kB / 0.5632 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.3124, allocations: 208.8 kB / 0.5634 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.3125, allocations: 4.375 kB / 0.5634 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.3125, allocations: 8.109 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3126, allocations: 69.59 kB / 0.5635 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3126, allocations: 0 / 0.5635 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3126, allocations: 0 / 0.5635 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3126, allocations: 0 / 0.5635 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.3127, allocations: 23.98 kB / 0.5635 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.3131, allocations: 284.9 kB / 0.5638 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3133, allocations: 58.61 kB / 0.5639 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.3133, allocations: 20.8 kB / 0.5639 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.3133, allocations: 4 kB / 0.5639 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.3135, allocations: 63.39 kB / 0.5639 GB, free: 448 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3135, allocations: 0 / 0.5639 GB, free: 448 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005348/0.314, allocations: 185.3 kB / 0.5641 GB, free: 256 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.314, allocations: 59.41 kB / 0.5642 GB, free: 184 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.3142, allocations: 190.4 kB / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3143, allocations: 33.7 kB / 0.5644 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.3143, allocations: 100.1 kB / 0.5645 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.3144, allocations: 27.78 kB / 0.5645 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.3144, allocations: 21.66 kB / 0.5645 GB, free: 15.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3145, allocations: 330.8 kB / 0.5648 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.3146, allocations: 19.98 kB / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.3147, allocations: 45.64 kB / 0.5649 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.3148, allocations: 57.7 kB / 0.565 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3148, allocations: 0 / 0.565 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001863/0.315, allocations: 105.5 kB / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.315, allocations: 4 kB / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.315, allocations: 0 / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.315, allocations: 4.031 kB / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.3151, allocations: 19.98 kB / 0.5651 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3151, allocations: 384 / 0.5651 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.3151, allocations: 7.938 kB / 0.5651 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.3151, allocations: 4 kB / 0.5651 GB, free: 15.18 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.0001065/0.3153, allocations: 133.3 kB / 0.5652 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.3153, allocations: 19.91 kB / 0.5652 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.3155, allocations: 107.1 kB / 0.5653 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3155, allocations: 4 kB / 0.5654 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3155, allocations: 0 / 0.5654 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.3155, allocations: 7.938 kB / 0.5654 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.316, allocations: 387.3 kB / 0.5657 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.316, allocations: 0 / 0.5657 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.316, allocations: 11.98 kB / 0.5657 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.316, allocations: 4 kB / 0.5657 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.316, allocations: 7.938 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.316, allocations: 3.938 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.316, allocations: 4.219 kB / 0.5658 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.3163, allocations: 208.6 kB / 0.566 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.3163, allocations: 85 kB / 0.566 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.3163, allocations: 11.94 kB / 0.5661 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.3164, allocations: 3.984 kB / 0.5661 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.3164, allocations: 8 kB / 0.5661 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.3165, allocations: 4 kB / 0.5661 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3166, allocations: 156.2 kB / 0.5662 GB, free: 13.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3166, allocations: 0 / 0.5662 GB, free: 13.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.3169, allocations: 27.92 kB / 0.5662 GB, free: 13.89 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.001652/0.3185, allocations: 457.2 kB / 0.5667 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.3187, allocations: 47.98 kB / 0.5667 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3187, allocations: 0 / 0.5667 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-05/0.3188, allocations: 27.92 kB / 0.5667 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.3191, allocations: 42.89 kB / 0.5668 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.3196, allocations: 260.4 kB / 0.567 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.3199, allocations: 0.7119 MB / 0.5677 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.32, allocations: 15.44 kB / 0.5677 GB, free: 12.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.32, allocations: 0 / 0.5677 GB, free: 12.45 MB / 414.1 MB Notification: Performance of Templates: time 0.003806/0.3238, allocations: 1.957 MB / 0.5697 GB, free: 10.5 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches