Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.001281/0.001281, allocations: 75.59 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.001501/0.001501, allocations: 170.5 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.576/1.576, allocations: 158.6 MB / 185 MB, free: 6.402 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.2444/0.2444, allocations: 32.38 MB / 269.6 MB, free: 4.75 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 407.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.46e-05/4.681e-05, allocations: 4.531 kB / 407.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.004129/0.004176, allocations: 1.682 MB / 409.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.006148, allocations: 0.7763 MB / 409.9 MB, free: 480 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.006342, allocations: 3.938 kB / 409.9 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.006866, allocations: 51.81 kB / 410 MB, free: 424 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.007209, allocations: 59.69 kB / 410 MB, free: 364 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.007637, allocations: 87.08 kB / 410.1 MB, free: 280 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.007937, allocations: 99.62 kB / 410.2 MB, free: 180 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.008065, allocations: 8.172 kB / 410.2 MB, free: 172 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.008279, allocations: 59.77 kB / 410.3 MB, free: 112 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.008398, allocations: 27.91 kB / 410.3 MB, free: 84 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.008429, allocations: 4 kB / 410.3 MB, free: 80 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.008571, allocations: 43.92 kB / 410.3 MB, free: 36 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.008661, allocations: 27.84 kB / 410.4 MB, free: 8 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.816e-05/0.008759, allocations: 16.02 kB / 410.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.009119, allocations: 119.5 kB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.009122, allocations: 0 / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.009123, allocations: 0 / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.009129, allocations: 4 kB / 410.5 MB, free: 15.87 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.0008751/0.01, allocations: 353.5 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.01005, allocations: 12.03 kB / 410.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.01013, allocations: 12.84 kB / 410.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.01048, allocations: 161.5 kB / 411 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.0105, allocations: 4.375 kB / 411 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.01052, allocations: 384 / 411 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.01072, allocations: 54.23 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.01074, allocations: 7.938 kB / 411.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.01076, allocations: 0 / 411.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.01076, allocations: 0 / 411.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.167e-05/0.01085, allocations: 23.97 kB / 411.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.01137, allocations: 236.5 kB / 411.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.01158, allocations: 62.61 kB / 411.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.315e-05/0.01168, allocations: 24.78 kB / 411.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.0117, allocations: 0 / 411.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.01189, allocations: 71.39 kB / 411.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.01189, allocations: 0 / 411.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006951/0.01259, allocations: 185.3 kB / 411.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.01266, allocations: 55.41 kB / 411.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.01293, allocations: 226.8 kB / 412 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.01296, allocations: 29.7 kB / 412 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.014e-05/0.01305, allocations: 104.1 kB / 412.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.0131, allocations: 31.73 kB / 412.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.01317, allocations: 25.72 kB / 412.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.01335, allocations: 326.8 kB / 412.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.01342, allocations: 23.98 kB / 412.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.01351, allocations: 41.64 kB / 412.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.01364, allocations: 61.64 kB / 412.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01364, allocations: 4 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002313/0.01387, allocations: 105.5 kB / 412.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.01389, allocations: 8 kB / 412.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.0139, allocations: 0 / 412.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.01391, allocations: 3.938 kB / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.01401, allocations: 12 kB / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.01403, allocations: 7.984 kB / 412.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.46e-05/0.01408, allocations: 7.938 kB / 412.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.01409, allocations: 4 kB / 412.7 MB, free: 13.44 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.0001324/0.01423, allocations: 137.8 kB / 412.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.01426, allocations: 15.91 kB / 412.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.01455, allocations: 123.2 kB / 413 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01455, allocations: 0 / 413 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.01456, allocations: 4 kB / 413 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.01457, allocations: 0 / 413 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005218/0.01509, allocations: 350.9 kB / 413.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01509, allocations: 4 kB / 413.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.01513, allocations: 8 kB / 413.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01514, allocations: 4.031 kB / 413.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.01516, allocations: 11.98 kB / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.01516, allocations: 384 / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01516, allocations: 0 / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.01548, allocations: 212.2 kB / 413.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.0155, allocations: 11.91 kB / 413.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.01553, allocations: 4 kB / 413.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.0156, allocations: 7.984 kB / 413.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.01564, allocations: 8 kB / 413.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.01566, allocations: 8.359 kB / 413.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.01584, allocations: 172.2 kB / 413.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01584, allocations: 4 kB / 413.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.01612, allocations: 27.92 kB / 413.8 MB, free: 12.28 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.002044/0.01817, allocations: 497.7 kB / 414.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.01847, allocations: 63.89 kB / 414.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.01847, allocations: 4 kB / 414.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.964e-05/0.01857, allocations: 27.98 kB / 414.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.01902, allocations: 23.92 kB / 414.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008534/0.01987, allocations: 254.7 kB / 414.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.02003, allocations: 108.7 kB / 414.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.589e-05/0.02012, allocations: 24.77 kB / 414.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.02017, allocations: 16.5 kB / 414.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.02017, allocations: 0 / 414.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Templates: time 0.006356/0.02653, allocations: 1.834 MB / 416.7 MB, free: 9.492 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.315243124961853]