Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.001947/0.001947, allocations: 74.97 kB / 19.93 MB, free: 1.77 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.00238/0.00238, allocations: 169.9 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2291/0.2291, allocations: 32.37 MB / 269.6 MB, free: 4.66 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.656e-05, allocations: 2.281 kB / 407.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003424/0.003451, allocations: 1.682 MB / 409.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.005088, allocations: 0.7763 MB / 409.9 MB, free: 460 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.005161, allocations: 3.938 kB / 409.9 MB, free: 456 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.005474, allocations: 39.81 kB / 409.9 MB, free: 416 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.005705, allocations: 55.7 kB / 410 MB, free: 360 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.005977, allocations: 91.44 kB / 410.1 MB, free: 272 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.006157, allocations: 95.64 kB / 410.2 MB, free: 176 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.00625, allocations: 12.16 kB / 410.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.00636, allocations: 55.83 kB / 410.2 MB, free: 108 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.006437, allocations: 19.92 kB / 410.3 MB, free: 88 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.00646, allocations: 8 kB / 410.3 MB, free: 80 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.006624, allocations: 51.84 kB / 410.3 MB, free: 28 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.084e-05/0.006685, allocations: 19.92 kB / 410.3 MB, free: 8 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.584e-05/0.006751, allocations: 19.92 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.006951, allocations: 107.6 kB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.006957, allocations: 4 kB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006958, allocations: 0 / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.006962, allocations: 0 / 410.5 MB, free: 15.88 MB / 350.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.0005869/0.007549, allocations: 337.6 kB / 410.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.007585, allocations: 8.031 kB / 410.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.007634, allocations: 16.89 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.007919, allocations: 147.8 kB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.007934, allocations: 8.312 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.007952, allocations: 384 / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.008113, allocations: 58.22 kB / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.00813, allocations: 7.938 kB / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.00814, allocations: 0 / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.008144, allocations: 0 / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.34e-05/0.008227, allocations: 23.98 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.008596, allocations: 220.6 kB / 411.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.008783, allocations: 62.62 kB / 411.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.008937, allocations: 32.72 kB / 411.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.008952, allocations: 4 kB / 411.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.009129, allocations: 67.38 kB / 411.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.009131, allocations: 0 / 411.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005918/0.009723, allocations: 185.3 kB / 411.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.009776, allocations: 59.41 kB / 411.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.009974, allocations: 186.2 kB / 411.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.009992, allocations: 29.7 kB / 411.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.01006, allocations: 100.1 kB / 412 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.0101, allocations: 23.84 kB / 412 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.01014, allocations: 21.72 kB / 412 MB, free: 14.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002826/0.01043, allocations: 326.8 kB / 412.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.01049, allocations: 23.92 kB / 412.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.458e-05/0.01057, allocations: 37.64 kB / 412.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.01083, allocations: 65.64 kB / 412.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.01083, allocations: 0 / 412.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002027/0.01103, allocations: 109.6 kB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.01105, allocations: 7.984 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.01105, allocations: 0 / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.01106, allocations: 4 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.01115, allocations: 12 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.01116, allocations: 0 / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.01121, allocations: 11.94 kB / 412.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.01122, allocations: 3.984 kB / 412.6 MB, free: 13.54 MB / 350.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.0002955/0.01151, allocations: 137.7 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.01154, allocations: 11.98 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.01182, allocations: 122.5 kB / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01182, allocations: 4 kB / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.01183, allocations: 3.984 kB / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01183, allocations: 0 / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.01231, allocations: 342.9 kB / 413.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01231, allocations: 0 / 413.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.101e-05/0.01235, allocations: 11.98 kB / 413.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.01235, allocations: 4 kB / 413.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.01237, allocations: 0 / 413.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01237, allocations: 4.406 kB / 413.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01237, allocations: 3.938 kB / 413.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.01265, allocations: 220.2 kB / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.01267, allocations: 11.95 kB / 413.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.01269, allocations: 7.984 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.01276, allocations: 0 / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.0128, allocations: 11.98 kB / 413.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.01282, allocations: 4.375 kB / 413.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.01296, allocations: 151.1 kB / 413.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01296, allocations: 0 / 413.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.01324, allocations: 24 kB / 413.7 MB, free: 12.41 MB / 350.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.001837/0.01508, allocations: 494.1 kB / 414.2 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.01526, allocations: 51.97 kB / 414.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01527, allocations: 8 kB / 414.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.265e-05/0.01536, allocations: 31.98 kB / 414.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.0157, allocations: 23.92 kB / 414.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/0.01618, allocations: 238.4 kB / 414.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.459e-05/0.01628, allocations: 88.31 kB / 414.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.001e-05/0.01633, allocations: 24.7 kB / 414.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.01637, allocations: 16.5 kB / 414.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01637, allocations: 0 / 414.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Templates: time 0.005225/0.02159, allocations: 1.827 MB / 416.5 MB, free: 9.676 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.212832428514957]