Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.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.001293/0.001293, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001437/0.001437, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.456/1.456, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2248/0.2248, allocations: 46.9 MB / 361.1 MB, free: 4.656 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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") [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.002346/0.002346, allocations: 83.86 kB / 0.4968 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3292, allocations: 65.99 MB / 0.5613 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003116/0.3323, allocations: 1.745 MB / 0.563 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.3349, allocations: 1.741 MB / 0.5647 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.869e-05/0.335, allocations: 0 / 0.5647 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.3352, allocations: 39.77 kB / 0.5647 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.3355, allocations: 99.53 kB / 0.5648 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.3357, allocations: 75.69 kB / 0.5649 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3359, allocations: 111.7 kB / 0.565 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.336, allocations: 7.984 kB / 0.565 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.479e-05/0.3361, allocations: 43.8 kB / 0.5651 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.3362, allocations: 43.77 kB / 0.5651 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3363, allocations: 11.94 kB / 0.5651 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.3364, allocations: 111.9 kB / 0.5652 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.334e-05/0.3365, allocations: 19.92 kB / 0.5652 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.3365, allocations: 39.72 kB / 0.5653 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.3368, allocations: 170.1 kB / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3368, allocations: 3.938 kB / 0.5654 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3368, allocations: 0 / 0.5654 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3368, allocations: 4 kB / 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.0006031/0.3374, allocations: 426.6 kB / 0.5658 GB, free: 296 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.3375, allocations: 8.031 kB / 0.5659 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.3375, allocations: 12.84 kB / 0.5659 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.3378, allocations: 220 kB / 0.5661 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3378, allocations: 384 / 0.5661 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.3379, allocations: 8.125 kB / 0.5661 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.3381, allocations: 67.39 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3381, allocations: 4 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3381, allocations: 3.938 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3381, allocations: 0 / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.623e-05/0.3382, allocations: 23.98 kB / 0.5662 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.3385, allocations: 284.8 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.3387, allocations: 54.67 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.3388, allocations: 20.84 kB / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.3388, allocations: 3.984 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.3389, allocations: 67.39 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3389, allocations: 3.938 kB / 0.5666 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005398/0.3395, allocations: 181.4 kB / 0.5668 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.3395, allocations: 77.11 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.3397, allocations: 162.4 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.3397, allocations: 33.7 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.3398, allocations: 92.14 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.3398, allocations: 27.8 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.3399, allocations: 17.72 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.34, allocations: 330.8 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.3401, allocations: 23.98 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-05/0.3401, allocations: 42.56 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.3403, allocations: 57.7 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3403, allocations: 4.125 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.3405, allocations: 93.62 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3405, allocations: 11.94 kB / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3405, allocations: 4.062 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3405, allocations: 0 / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.321e-05/0.3406, allocations: 23.92 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3406, allocations: 4 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.3406, allocations: 0 / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3407, allocations: 7.938 kB / 0.5677 GB, free: 14.15 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.0001148/0.3408, allocations: 129.8 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.3408, allocations: 7.953 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.341, allocations: 118.5 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.341, allocations: 0 / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.341, allocations: 0 / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.3411, allocations: 89.02 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.3411, allocations: 7.938 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.337e-05/0.3412, allocations: 11.92 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.3412, allocations: 0 / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002361/0.3415, allocations: 176.9 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002807/0.3417, allocations: 278.6 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.495e-05/0.3418, allocations: 23.97 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.3419, allocations: 127.9 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Backend: time 5.91e-07/0.3419, allocations: 4 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.3442, allocations: 0.5586 MB / 0.5692 GB, free: 12.78 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007004/0.3449, allocations: 0.6551 MB / 0.5699 GB, free: 12.07 MB / 414.1 MB Notification: Performance of Templates: time 0.0057/0.3506, allocations: 2.44 MB / 0.5722 GB, free: 9.645 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.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.899156283121556]