Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002466/0.002466, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.00277/0.00277, allocations: 169.6 kB / 23.53 MB, free: 0.8984 MB / 18.57 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.656/1.656, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 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.2409/0.2409, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.184e-05/4.377e-05, allocations: 2.312 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002892/0.002936, allocations: 1.79 MB / 348.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.00434, allocations: 0.8583 MB / 349.7 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.39e-05/0.004434, allocations: 0 / 349.7 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00058/0.005014, allocations: 307.1 kB / 350 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.005369, allocations: 207.3 kB / 350.2 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.00568, allocations: 143.5 kB / 350.3 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.005955, allocations: 255.2 kB / 350.5 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.676e-05/0.006012, allocations: 5.812 kB / 350.6 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.006199, allocations: 143.6 kB / 350.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.006419, allocations: 200.1 kB / 350.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.006453, allocations: 8 kB / 350.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.006555, allocations: 39.98 kB / 350.9 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.006688, allocations: 140.5 kB / 351.1 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.614e-05/0.006774, allocations: 75.66 kB / 351.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.007158, allocations: 338.8 kB / 351.5 MB, free: 5.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.007163, allocations: 0 / 351.5 MB, free: 5.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.007165, allocations: 4 kB / 351.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.007173, allocations: 0 / 351.5 MB, free: 5.234 MB / 282.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.0009762/0.00815, allocations: 0.7978 MB / 352.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.008197, allocations: 8.031 kB / 352.3 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.008298, allocations: 52.61 kB / 352.3 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.008756, allocations: 324.7 kB / 352.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.008772, allocations: 8.375 kB / 352.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.008788, allocations: 8.312 kB / 352.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.008991, allocations: 85.58 kB / 352.8 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.009005, allocations: 3.938 kB / 352.8 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.009022, allocations: 4 kB / 352.8 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.009028, allocations: 4 kB / 352.8 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.009131, allocations: 23.98 kB / 352.8 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.00947, allocations: 336.3 kB / 353.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.009715, allocations: 118.1 kB / 353.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.808e-05/0.009793, allocations: 43.36 kB / 353.3 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.009826, allocations: 4 kB / 353.3 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.01001, allocations: 120.3 kB / 353.4 MB, free: 3.145 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.61e-07/0.01001, allocations: 0 / 353.4 MB, free: 3.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004295/0.01044, allocations: 201.2 kB / 353.6 MB, free: 2.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.01048, allocations: 77.11 kB / 353.7 MB, free: 2.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/0.01112, allocations: 0.7448 MB / 354.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.01114, allocations: 25.7 kB / 354.4 MB, free: 2.055 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.01132, allocations: 314.8 kB / 354.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.01136, allocations: 35.78 kB / 354.8 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.01141, allocations: 39.31 kB / 354.8 MB, free: 1.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.01159, allocations: 0.5743 MB / 355.4 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.01166, allocations: 27.98 kB / 355.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.504e-05/0.01174, allocations: 70.42 kB / 355.5 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.01189, allocations: 99.16 kB / 355.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01189, allocations: 0 / 355.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002285/0.01212, allocations: 169.3 kB / 355.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.01213, allocations: 8.062 kB / 355.8 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.01214, allocations: 3.938 kB / 355.8 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.01216, allocations: 4 kB / 355.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.01229, allocations: 23.92 kB / 355.8 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.0123, allocations: 4 kB / 355.8 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.725e-05/0.01239, allocations: 11.95 kB / 355.8 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.0124, allocations: 4 kB / 355.8 MB, free: 0.6211 MB / 282.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.0001326/0.01253, allocations: 176.4 kB / 356 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.01259, allocations: 51.67 kB / 356 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.0129, allocations: 181.5 kB / 356.2 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01291, allocations: 0 / 356.2 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01291, allocations: 0 / 356.2 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01292, allocations: 3.984 kB / 356.2 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.01332, allocations: 352.4 kB / 356.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01332, allocations: 0 / 356.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.01336, allocations: 12 kB / 356.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01337, allocations: 0 / 356.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.01339, allocations: 8 kB / 356.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.01339, allocations: 7.875 kB / 356.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.0134, allocations: 4.234 kB / 356.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.01382, allocations: 227.7 kB / 356.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.01397, allocations: 59.66 kB / 356.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.509e-05/0.01402, allocations: 4 kB / 356.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.01409, allocations: 7.938 kB / 356.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.01415, allocations: 11.98 kB / 356.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.01417, allocations: 7.984 kB / 356.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007846/0.01496, allocations: 486.8 kB / 357.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01496, allocations: 0 / 357.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002825/0.01524, allocations: 51.92 kB / 357.4 MB, free: 14.92 MB / 298.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.002995/0.01823, allocations: 439.5 kB / 357.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.01854, allocations: 91.7 kB / 357.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01854, allocations: 0 / 357.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.01867, allocations: 55.55 kB / 358 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.01916, allocations: 75.86 kB / 358.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.0205, allocations: 0.6513 MB / 358.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.0208, allocations: 221.8 kB / 358.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.02091, allocations: 42.94 kB / 359 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.763e-05/0.02099, allocations: 28.5 kB / 359 MB, free: 13.39 MB / 298.7 MB Notification: Performance of SimCode: time 1.353e-06/0.021, allocations: 0 / 359 MB, free: 13.39 MB / 298.7 MB Notification: Performance of Templates: time 0.01075/0.03175, allocations: 3.921 MB / 362.9 MB, free: 9.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.692801128025167]