Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.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.001574/0.001574, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001747/0.001747, allocations: 209.4 kB / 24.47 MB, free: 4.023 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.485/1.485, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2342/0.2342, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43") [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.002397/0.002397, allocations: 83.86 kB / 0.4968 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3195, allocations: 65.99 MB / 0.5613 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003158/0.3226, allocations: 1.747 MB / 0.563 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.3244, allocations: 1.045 MB / 0.564 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.3244, allocations: 4 kB / 0.564 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.3247, allocations: 43.75 kB / 0.5641 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.325, allocations: 95.61 kB / 0.5641 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.3252, allocations: 79.67 kB / 0.5642 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.3253, allocations: 99.69 kB / 0.5643 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.621e-05/0.3254, allocations: 11.97 kB / 0.5643 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/0.3255, allocations: 47.73 kB / 0.5644 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/0.3256, allocations: 31.84 kB / 0.5644 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.3256, allocations: 4 kB / 0.5644 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.3257, allocations: 43.97 kB / 0.5645 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.3257, allocations: 23.86 kB / 0.5645 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.3258, allocations: 35.75 kB / 0.5645 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.326, allocations: 126.3 kB / 0.5646 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.326, allocations: 3.938 kB / 0.5646 GB, free: 1.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.326, allocations: 0 / 0.5646 GB, free: 1.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.326, allocations: 0 / 0.5646 GB, free: 1.566 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.0005643/0.3266, allocations: 434.5 kB / 0.565 GB, free: 1.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.3266, allocations: 8.031 kB / 0.5651 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.3267, allocations: 16.88 kB / 0.5651 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.3269, allocations: 216.1 kB / 0.5653 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3269, allocations: 4.375 kB / 0.5653 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.327, allocations: 4.375 kB / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3271, allocations: 57.98 kB / 0.5653 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3271, allocations: 7.938 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.3271, allocations: 0 / 0.5653 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.3271, allocations: 0 / 0.5653 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.557e-05/0.3272, allocations: 19.98 kB / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.3276, allocations: 292.8 kB / 0.5656 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.3277, allocations: 54.67 kB / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.3278, allocations: 20.8 kB / 0.5657 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3278, allocations: 0 / 0.5657 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.328, allocations: 71.38 kB / 0.5658 GB, free: 224 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.328, allocations: 4 kB / 0.5658 GB, free: 220 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005304/0.3285, allocations: 173.3 kB / 0.566 GB, free: 40 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.3285, allocations: 55.34 kB / 0.566 GB, free: 15.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.3288, allocations: 218.1 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.584e-05/0.3288, allocations: 25.7 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.3289, allocations: 108.1 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.3289, allocations: 23.8 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.3289, allocations: 21.7 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3291, allocations: 330.8 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.824e-05/0.3292, allocations: 20 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.3292, allocations: 33.7 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.3294, allocations: 73.7 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3294, allocations: 3.938 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.3295, allocations: 109.5 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3296, allocations: 8 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3296, allocations: 0 / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3296, allocations: 0 / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/0.3297, allocations: 12 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3297, allocations: 4 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.3297, allocations: 7.984 kB / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3297, allocations: 4 kB / 0.567 GB, free: 14.94 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.0001037/0.3298, allocations: 125.8 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.3299, allocations: 15.94 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.3301, allocations: 115 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3301, allocations: 7.984 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3301, allocations: 0 / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3301, allocations: 3.984 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.3306, allocations: 395.6 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3306, allocations: 0 / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.3306, allocations: 12 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3306, allocations: 4.031 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3306, allocations: 7.984 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3306, allocations: 3.938 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3306, allocations: 0 / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.3309, allocations: 204.2 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.331, allocations: 85.06 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.331, allocations: 12 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.3311, allocations: 7.922 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.3311, allocations: 4.188 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.3311, allocations: 4 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.3312, allocations: 164.8 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3312, allocations: 0 / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.3315, allocations: 31.92 kB / 0.5681 GB, free: 13.64 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.001698/0.3332, allocations: 456 kB / 0.5686 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.3334, allocations: 59.89 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3334, allocations: 7.938 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.966e-05/0.3335, allocations: 23.94 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.3338, allocations: 32.09 kB / 0.5687 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.3343, allocations: 254.6 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.3346, allocations: 0.7041 MB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.084e-05/0.3347, allocations: 17.19 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.3347, allocations: 15.44 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3347, allocations: 0 / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of Templates: time 0.005024/0.3397, allocations: 1.779 MB / 0.5714 GB, free: 10.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.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.979785884264857]