Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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: 115.8 kB / 20.43 MB, free: 1.457 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.002672/0.002672, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.629/1.629, allocations: 230.6 MB / 257.5 MB, free: 8 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.2373/0.2373, allocations: 46.95 MB / 360.9 MB, free: 4.246 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 63.91 kB / 0.4967 GB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.395, allocations: 66.02 MB / 0.5612 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003948/0.3989, allocations: 1.96 MB / 0.5631 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.4009, allocations: 1.088 MB / 0.5642 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.401, allocations: 3.938 kB / 0.5642 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.4013, allocations: 47.7 kB / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.4017, allocations: 103.5 kB / 0.5643 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.4019, allocations: 95.7 kB / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.4022, allocations: 151.5 kB / 0.5645 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.4023, allocations: 25.39 kB / 0.5646 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.4024, allocations: 63.7 kB / 0.5646 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.4026, allocations: 51.66 kB / 0.5647 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.4026, allocations: 8 kB / 0.5647 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.4027, allocations: 51.97 kB / 0.5647 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.4028, allocations: 23.86 kB / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.4029, allocations: 51.67 kB / 0.5648 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.4032, allocations: 158 kB / 0.565 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4032, allocations: 4 kB / 0.565 GB, free: 500 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4032, allocations: 0 / 0.565 GB, free: 500 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.4032, allocations: 0 / 0.565 GB, free: 500 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008379/0.404, allocations: 411 kB / 0.5654 GB, free: 52 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.4041, allocations: 12.03 kB / 0.5654 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.4041, allocations: 12.84 kB / 0.5654 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.4045, allocations: 175 kB / 0.5655 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.4045, allocations: 12.31 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.4045, allocations: 12.12 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.4048, allocations: 103.2 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4048, allocations: 3.938 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.4048, allocations: 8 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4048, allocations: 0 / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.405, allocations: 55.89 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.4056, allocations: 480.1 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.406, allocations: 82.67 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.4061, allocations: 40.77 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.4061, allocations: 4 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.4063, allocations: 87.3 kB / 0.5664 GB, free: 14.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.4063, allocations: 0 / 0.5664 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004326/0.4068, allocations: 149.5 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.4068, allocations: 55.34 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.4071, allocations: 203.1 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.4071, allocations: 29.7 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.648e-05/0.4072, allocations: 116.1 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.4072, allocations: 27.75 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/0.4073, allocations: 29.7 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4074, allocations: 322.8 kB / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.366e-05/0.4075, allocations: 31.98 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.4077, allocations: 64.27 kB / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.4079, allocations: 100.2 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4079, allocations: 3.938 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002957/0.4082, allocations: 141.8 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4082, allocations: 4 kB / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4082, allocations: 4 kB / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4082, allocations: 128 / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.4083, allocations: 31.92 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4083, allocations: 0 / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.435e-05/0.4084, allocations: 15.95 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.4084, allocations: 11.98 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001359/0.4085, allocations: 140.3 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.4086, allocations: 15.91 kB / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.4089, allocations: 123 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4089, allocations: 7.938 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4089, allocations: 4 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4089, allocations: 0 / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.4091, allocations: 180.6 kB / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4091, allocations: 0 / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-05/0.4092, allocations: 15.98 kB / 0.5681 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4092, allocations: 0 / 0.5681 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.4092, allocations: 0 / 0.5681 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4092, allocations: 3.938 kB / 0.5681 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4092, allocations: 0 / 0.5681 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.4096, allocations: 188.9 kB / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.4096, allocations: 11.94 kB / 0.5683 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.4096, allocations: 8 kB / 0.5683 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.621e-05/0.4097, allocations: 7.938 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.4097, allocations: 7.922 kB / 0.5684 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.4098, allocations: 8.281 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.4099, allocations: 147.3 kB / 0.5685 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4099, allocations: 0 / 0.5685 GB, free: 12.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.4102, allocations: 35.86 kB / 0.5685 GB, free: 12.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.001609/0.4118, allocations: 397.3 kB / 0.5689 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.4121, allocations: 79.89 kB / 0.569 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4121, allocations: 4.188 kB / 0.569 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.4122, allocations: 40.05 kB / 0.569 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.4125, allocations: 39.66 kB / 0.5691 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007014/0.4132, allocations: 275.4 kB / 0.5693 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.4137, allocations: 0.7123 MB / 0.57 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.918e-05/0.4137, allocations: 17.42 kB / 0.57 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.4138, allocations: 15.44 kB / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4138, allocations: 0 / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of Templates: time 0.006665/0.4204, allocations: 1.956 MB / 0.572 GB, free: 9.102 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.597210443112999]