Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001994/0.001994, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002029/0.002029, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 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.654/1.654, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.382/0.382, allocations: 32.81 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.317e-05, allocations: 9.625 kB / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00375/0.003783, allocations: 1.821 MB / 377.2 MB, free: 3.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.006042, allocations: 1.068 MB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.427e-05/0.006126, allocations: 3.938 kB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.006729, allocations: 295.2 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005504/0.007279, allocations: 263 kB / 378.8 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.007565, allocations: 111.6 kB / 378.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003678/0.007933, allocations: 263.2 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.39e-05/0.007997, allocations: 13.8 kB / 379.2 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.008236, allocations: 143.7 kB / 379.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.008532, allocations: 204.1 kB / 379.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.008563, allocations: 7.938 kB / 379.5 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.008683, allocations: 47.92 kB / 379.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.008861, allocations: 148.5 kB / 379.7 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.008968, allocations: 63.67 kB / 379.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.009431, allocations: 350.8 kB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.009439, allocations: 11.98 kB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00944, allocations: 0 / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.009446, allocations: 0 / 380.1 MB, free: 112 kB / 346.7 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.00124/0.01069, allocations: 0.794 MB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.01073, allocations: 8.031 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.01084, allocations: 56.59 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000864/0.01171, allocations: 336.6 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.01173, allocations: 4.375 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.01174, allocations: 4.375 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.01196, allocations: 93.53 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.01197, allocations: 7.922 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.01198, allocations: 0 / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.01199, allocations: 0 / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.01209, allocations: 23.98 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.01259, allocations: 348.3 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.01291, allocations: 118.1 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.01301, allocations: 43.36 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.01303, allocations: 7.938 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.01327, allocations: 120.3 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.01327, allocations: 0 / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000523/0.0138, allocations: 197.2 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.01387, allocations: 81.11 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009997/0.01487, allocations: 0.7642 MB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.01489, allocations: 25.7 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.0152, allocations: 326.8 kB / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.943e-05/0.01526, allocations: 23.84 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.01533, allocations: 35.38 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003829/0.01571, allocations: 0.5821 MB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.01579, allocations: 27.98 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.01591, allocations: 66.72 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.01609, allocations: 94.67 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.0161, allocations: 0 / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003339/0.01643, allocations: 173.7 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.01645, allocations: 4 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.01645, allocations: 3.938 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.01647, allocations: 8.062 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.01658, allocations: 20.05 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.0166, allocations: 8 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.415e-05/0.01669, allocations: 11.94 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.0167, allocations: 7.938 kB / 384.5 MB, free: 11.44 MB / 362.7 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.0001634/0.01687, allocations: 177.1 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.862e-05/0.01694, allocations: 55.62 kB / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005793/0.01752, allocations: 181.8 kB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01753, allocations: 0 / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01753, allocations: 4 kB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01753, allocations: 4 kB / 384.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.01796, allocations: 348.5 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.01797, allocations: 4 kB / 385.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.01801, allocations: 11.98 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01802, allocations: 0 / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.01803, allocations: 4 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.01804, allocations: 3.938 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01804, allocations: 0 / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.01844, allocations: 235.6 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.01859, allocations: 59.59 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.01864, allocations: 11.98 kB / 385.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.01871, allocations: 7.938 kB / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.01877, allocations: 11.98 kB / 385.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.01879, allocations: 4 kB / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006361/0.01943, allocations: 0.4949 MB / 386.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01943, allocations: 0 / 386.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.01969, allocations: 40 kB / 386.1 MB, free: 9.73 MB / 362.7 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.00294/0.02263, allocations: 451.5 kB / 386.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.02291, allocations: 95.64 kB / 386.7 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.02291, allocations: 0 / 386.7 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.02304, allocations: 47.67 kB / 386.7 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.02348, allocations: 70.69 kB / 386.8 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.0246, allocations: 0.6715 MB / 387.4 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.02488, allocations: 229.5 kB / 387.7 MB, free: 8.301 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.02498, allocations: 46.95 kB / 387.7 MB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.02507, allocations: 32.48 kB / 387.8 MB, free: 8.223 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02507, allocations: 0 / 387.8 MB, free: 8.223 MB / 362.7 MB Notification: Performance of Templates: time 0.01068/0.03575, allocations: 3.956 MB / 391.7 MB, free: 4.297 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.2672126409597695]