Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001305/0.001305, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001571/0.001571, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 8.219 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.2542/0.2542, allocations: 46.95 MB / 361.6 MB, free: 4.301 MB / 286.1 MB " [Timeout remaining time 179] 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 71.89 kB / 0.4975 GB, free: 7.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3986, allocations: 66.02 MB / 0.5619 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003675/0.4023, allocations: 1.85 MB / 0.5637 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.4045, allocations: 1.116 MB / 0.5648 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.4046, allocations: 4 kB / 0.5648 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006158/0.4052, allocations: 303.2 kB / 0.5651 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006749/0.4059, allocations: 259.2 kB / 0.5654 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.4063, allocations: 107.7 kB / 0.5655 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004668/0.4067, allocations: 263.2 kB / 0.5657 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.801e-05/0.4068, allocations: 5.812 kB / 0.5657 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.4071, allocations: 139.5 kB / 0.5659 GB, free: 376 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.4074, allocations: 212 kB / 0.5661 GB, free: 164 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.4075, allocations: 7.938 kB / 0.5661 GB, free: 156 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.4076, allocations: 47.98 kB / 0.5661 GB, free: 108 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.4078, allocations: 132.5 kB / 0.5662 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.408, allocations: 146.8 kB / 0.5664 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005553/0.4085, allocations: 380.6 kB / 0.5667 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.4086, allocations: 4 kB / 0.5667 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4086, allocations: 0 / 0.5667 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.4086, allocations: 0 / 0.5667 GB, free: 15.46 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001198/0.4098, allocations: 0.6708 MB / 0.5674 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.4098, allocations: 8.031 kB / 0.5674 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.41, allocations: 52.61 kB / 0.5675 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007854/0.4107, allocations: 398.5 kB / 0.5678 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.4108, allocations: 4.375 kB / 0.5678 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.4108, allocations: 16.06 kB / 0.5679 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.411, allocations: 83.36 kB / 0.5679 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.411, allocations: 0 / 0.5679 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.411, allocations: 4 kB / 0.5679 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.411, allocations: 0 / 0.5679 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.4111, allocations: 23.98 kB / 0.568 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.4116, allocations: 353.4 kB / 0.5683 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.4119, allocations: 97.23 kB / 0.5684 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.567e-05/0.412, allocations: 41.62 kB / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.412, allocations: 8 kB / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.4123, allocations: 109 kB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.4123, allocations: 0 / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005441/0.4128, allocations: 201.2 kB / 0.5687 GB, free: 13.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.4129, allocations: 85.09 kB / 0.5688 GB, free: 13.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.4141, allocations: 1.019 MB / 0.5698 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.4141, allocations: 33.7 kB / 0.5698 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.4143, allocations: 232.1 kB / 0.5701 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/0.4144, allocations: 31.77 kB / 0.5701 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.4145, allocations: 29.72 kB / 0.5701 GB, free: 11.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002428/0.4147, allocations: 362.8 kB / 0.5705 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.865e-05/0.4148, allocations: 31.97 kB / 0.5705 GB, free: 11.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.4149, allocations: 67.36 kB / 0.5706 GB, free: 11.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.4151, allocations: 91.84 kB / 0.5706 GB, free: 11.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4151, allocations: 0 / 0.5706 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003537/0.4155, allocations: 177.2 kB / 0.5708 GB, free: 11.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.4155, allocations: 14.44 kB / 0.5708 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4155, allocations: 0 / 0.5708 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4155, allocations: 0 / 0.5708 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.4157, allocations: 27.98 kB / 0.5709 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.4157, allocations: 3.938 kB / 0.5709 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.4158, allocations: 15.88 kB / 0.5709 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.4158, allocations: 4 kB / 0.5709 GB, free: 10.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002609/0.4161, allocations: 229.8 kB / 0.5711 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.4161, allocations: 47.67 kB / 0.5711 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004282/0.4166, allocations: 197.8 kB / 0.5713 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4166, allocations: 4 kB / 0.5713 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4166, allocations: 0 / 0.5713 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4166, allocations: 3.984 kB / 0.5713 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.417, allocations: 316.5 kB / 0.5716 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.417, allocations: 4 kB / 0.5716 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.417, allocations: 8 kB / 0.5717 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.417, allocations: 4 kB / 0.5717 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.417, allocations: 4 kB / 0.5717 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.417, allocations: 3.938 kB / 0.5717 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.417, allocations: 0 / 0.5717 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.4174, allocations: 225.6 kB / 0.5719 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.4176, allocations: 67.59 kB / 0.5719 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.4176, allocations: 8 kB / 0.572 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.4177, allocations: 4 kB / 0.572 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.4177, allocations: 7.984 kB / 0.572 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.4178, allocations: 11.98 kB / 0.572 GB, free: 9.766 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008963/0.4187, allocations: 0.7643 MB / 0.5727 GB, free: 9.004 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4187, allocations: 0 / 0.5727 GB, free: 9.004 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.419, allocations: 44 kB / 0.5728 GB, free: 8.961 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00157/0.4205, allocations: 410.9 kB / 0.5732 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.4208, allocations: 79.97 kB / 0.5732 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.4208, allocations: 0 / 0.5732 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.421, allocations: 44.05 kB / 0.5733 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.4215, allocations: 83.73 kB / 0.5734 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.423, allocations: 0.9107 MB / 0.5742 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/0.4236, allocations: 0.8465 MB / 0.5751 GB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.4237, allocations: 31.42 kB / 0.5751 GB, free: 6.668 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4237, allocations: 0 / 0.5751 GB, free: 6.668 MB / 414.1 MB Notification: Performance of Templates: time 0.01052/0.4342, allocations: 5.123 MB / 0.5801 GB, free: 1.547 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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: 8.230855372967198]