Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002621/0.002621, allocations: 218.2 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2382/0.2382, allocations: 46.96 MB / 360.9 MB, free: 3.988 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 67.83 kB / 0.4967 GB, free: 7.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3365, allocations: 66.03 MB / 0.5611 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003342/0.3398, allocations: 1.72 MB / 0.5628 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.3417, allocations: 0.9715 MB / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.3417, allocations: 0 / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.342, allocations: 51.77 kB / 0.5638 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.3423, allocations: 99.59 kB / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.3425, allocations: 75.67 kB / 0.564 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3427, allocations: 111.6 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.3428, allocations: 4 kB / 0.5641 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.269e-05/0.3429, allocations: 47.78 kB / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/0.343, allocations: 35.78 kB / 0.5642 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.343, allocations: 8 kB / 0.5642 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.915e-05/0.3431, allocations: 39.98 kB / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.3432, allocations: 19.92 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.3432, allocations: 39.72 kB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.3435, allocations: 129.8 kB / 0.5644 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3435, allocations: 4 kB / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3435, allocations: 3.938 kB / 0.5644 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.3435, allocations: 0 / 0.5644 GB, free: 0.7305 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.0005852/0.3441, allocations: 357.4 kB / 0.5648 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3441, allocations: 16.02 kB / 0.5648 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.3442, allocations: 12.89 kB / 0.5648 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.3444, allocations: 155.1 kB / 0.5649 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3444, allocations: 4.375 kB / 0.5649 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.3445, allocations: 4.125 kB / 0.5649 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.3446, allocations: 61.61 kB / 0.565 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3446, allocations: 0 / 0.565 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3447, allocations: 0 / 0.565 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3447, allocations: 0 / 0.565 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.007e-05/0.3447, allocations: 19.98 kB / 0.565 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.3451, allocations: 244.5 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.3453, allocations: 58.62 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.3454, allocations: 20.84 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.3454, allocations: 4 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.3455, allocations: 63.39 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3456, allocations: 0 / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005839/0.3461, allocations: 185.3 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3462, allocations: 55.39 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.3464, allocations: 242.9 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.3465, allocations: 33.7 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.41e-05/0.3466, allocations: 120.1 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.3466, allocations: 19.86 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.3467, allocations: 33.64 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3468, allocations: 326.8 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.621e-05/0.3469, allocations: 27.92 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.347, allocations: 37.64 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3471, allocations: 65.77 kB / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3471, allocations: 0 / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002004/0.3473, allocations: 105.5 kB / 0.5666 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3473, allocations: 8 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3473, allocations: 0 / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3473, allocations: 384 / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/0.3474, allocations: 15.98 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3474, allocations: 4 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.3475, allocations: 8 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3475, allocations: 4 kB / 0.5666 GB, free: 14.27 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.0001324/0.3476, allocations: 137.7 kB / 0.5668 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.3477, allocations: 19.94 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.3479, allocations: 123 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3479, allocations: 3.938 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3479, allocations: 4 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3479, allocations: 0 / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.3484, allocations: 358.9 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3484, allocations: 0 / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.3485, allocations: 8 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3485, allocations: 0 / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3485, allocations: 8.031 kB / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3485, allocations: 3.984 kB / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3485, allocations: 3.938 kB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.3487, allocations: 212.5 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.3488, allocations: 15.91 kB / 0.5675 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.3488, allocations: 4.094 kB / 0.5675 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.771e-05/0.3489, allocations: 7.922 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.3489, allocations: 7.938 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.3489, allocations: 11.98 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.3491, allocations: 175.2 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3491, allocations: 4 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.3494, allocations: 27.98 kB / 0.5677 GB, free: 13.08 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 (9): * Single equations (assignments): 7 * 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.001846/0.3512, allocations: 484.5 kB / 0.5682 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.3514, allocations: 67.89 kB / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3514, allocations: 0 / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/0.3515, allocations: 35.91 kB / 0.5683 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.3518, allocations: 35.11 kB / 0.5683 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.3524, allocations: 271.2 kB / 0.5686 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.895e-05/0.3525, allocations: 92.73 kB / 0.5687 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.3525, allocations: 25.09 kB / 0.5687 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.3525, allocations: 19.44 kB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3525, allocations: 0 / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of Templates: time 0.005266/0.3578, allocations: 1.93 MB / 0.5706 GB, free: 10.33 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.34733877889812]