Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.001283/0.001283, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.001399/0.001399, allocations: 204 kB / 25.13 MB, free: 3.578 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.42/1.42, allocations: 230.4 MB / 258.7 MB, free: 8.238 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.2315/0.2315, allocations: 46.93 MB / 362 MB, free: 4.273 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-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.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-beta.om_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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5") [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.002339/0.002339, allocations: 87.84 kB / 0.4979 GB, free: 7.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3137, allocations: 66.07 MB / 0.5624 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003515/0.3172, allocations: 1.775 MB / 0.5641 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.3192, allocations: 1.057 MB / 0.5652 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.648e-05/0.3193, allocations: 7.938 kB / 0.5652 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004272/0.3197, allocations: 99.66 kB / 0.5653 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.3201, allocations: 135.5 kB / 0.5654 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.3203, allocations: 83.72 kB / 0.5655 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.3205, allocations: 139.6 kB / 0.5656 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3206, allocations: 13.58 kB / 0.5656 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.3207, allocations: 67.75 kB / 0.5657 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3209, allocations: 75.73 kB / 0.5658 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.3209, allocations: 11.94 kB / 0.5658 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.321, allocations: 63.97 kB / 0.5658 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.156e-05/0.3211, allocations: 43.78 kB / 0.5659 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.3212, allocations: 47.67 kB / 0.5659 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.3214, allocations: 165.7 kB / 0.5661 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3214, allocations: 0 / 0.5661 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3214, allocations: 0 / 0.5661 GB, free: 492 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.3214, allocations: 0 / 0.5661 GB, free: 492 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.000622/0.322, allocations: 397.2 kB / 0.5665 GB, free: 64 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3221, allocations: 8.031 kB / 0.5665 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.3221, allocations: 20.84 kB / 0.5665 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.3225, allocations: 171.2 kB / 0.5667 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3225, allocations: 4.375 kB / 0.5667 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.3225, allocations: 8.375 kB / 0.5667 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.3228, allocations: 73.97 kB / 0.5667 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.3228, allocations: 3.953 kB / 0.5667 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3228, allocations: 0 / 0.5667 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.3228, allocations: 7.984 kB / 0.5667 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.3229, allocations: 31.92 kB / 0.5668 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.3234, allocations: 307.7 kB / 0.5671 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.3237, allocations: 66.55 kB / 0.5671 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.677e-05/0.3238, allocations: 28.84 kB / 0.5672 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.3238, allocations: 3.984 kB / 0.5672 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.324, allocations: 79.31 kB / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.324, allocations: 4 kB / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009295/0.3249, allocations: 310 kB / 0.5675 GB, free: 14.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.325, allocations: 51.5 kB / 0.5676 GB, free: 14.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.3252, allocations: 267.6 kB / 0.5678 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.3253, allocations: 33.7 kB / 0.5679 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.3253, allocations: 116.1 kB / 0.568 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.3254, allocations: 47.64 kB / 0.568 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.3254, allocations: 33.72 kB / 0.5681 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3256, allocations: 330.8 kB / 0.5684 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.3257, allocations: 35.98 kB / 0.5684 GB, free: 13.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.3258, allocations: 57.64 kB / 0.5685 GB, free: 13.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.3259, allocations: 105.6 kB / 0.5686 GB, free: 13.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3259, allocations: 0 / 0.5686 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002695/0.3262, allocations: 161.6 kB / 0.5687 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3262, allocations: 4 kB / 0.5687 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.3262, allocations: 0 / 0.5687 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3263, allocations: 3.984 kB / 0.5687 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/0.3264, allocations: 27.94 kB / 0.5688 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3264, allocations: 3.938 kB / 0.5688 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.3264, allocations: 11.98 kB / 0.5688 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3264, allocations: 4 kB / 0.5688 GB, free: 13.52 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.0001403/0.3266, allocations: 141.8 kB / 0.5689 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.3266, allocations: 19.86 kB / 0.5689 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.327, allocations: 186.3 kB / 0.5691 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.327, allocations: 0 / 0.5691 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.327, allocations: 4.047 kB / 0.5691 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.327, allocations: 3.938 kB / 0.5691 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.3276, allocations: 495 kB / 0.5696 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3276, allocations: 0 / 0.5696 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.336e-05/0.3277, allocations: 19.98 kB / 0.5696 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3277, allocations: 0 / 0.5696 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.3277, allocations: 8 kB / 0.5696 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3277, allocations: 0 / 0.5696 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3277, allocations: 4 kB / 0.5696 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.328, allocations: 265 kB / 0.5699 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.3281, allocations: 11.91 kB / 0.5699 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.3281, allocations: 8 kB / 0.5699 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3282, allocations: 3.984 kB / 0.5699 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.3282, allocations: 15.92 kB / 0.5699 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.3283, allocations: 8 kB / 0.5699 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.3284, allocations: 189.5 kB / 0.5701 GB, free: 12.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3284, allocations: 0 / 0.5701 GB, free: 12.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.3287, allocations: 47.88 kB / 0.5701 GB, free: 12.02 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 (14): * Single equations (assignments): 12 * 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.00188/0.3306, allocations: 0.4946 MB / 0.5706 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.3309, allocations: 111 kB / 0.5707 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3309, allocations: 0 / 0.5707 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.331, allocations: 47.91 kB / 0.5708 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3314, allocations: 38.97 kB / 0.5708 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.332, allocations: 324.6 kB / 0.5711 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.3323, allocations: 0.7201 MB / 0.5718 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.395e-05/0.3324, allocations: 29.41 kB / 0.5719 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.3325, allocations: 27.42 kB / 0.5719 GB, free: 10.37 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3325, allocations: 0 / 0.5719 GB, free: 10.37 MB / 414.1 MB Notification: Performance of Templates: time 0.00585/0.3383, allocations: 2.27 MB / 0.5741 GB, free: 8.113 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.944605114869773]