Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.0009879/0.0009879, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001318/0.002306, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007559/0.0007559, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009584/0.001714, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.22/1.22, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1425/1.362, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.3476/0.3476, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03294/0.3806, allocations: 12.52 MB / 289.3 MB, free: 8.68 MB / 282.7 MB " [Timeout remaining time 180] 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.398e-05/3.551e-05, allocations: 4.516 kB / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004781/0.004817, allocations: 1.886 MB / 292.6 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.00718, allocations: 1.1 MB / 293.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.007357, allocations: 0 / 293.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.007972, allocations: 299.1 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006471/0.008619, allocations: 259 kB / 294.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.009027, allocations: 107.6 kB / 294.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.009571, allocations: 267.2 kB / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.606e-05/0.009647, allocations: 6.469 kB / 294.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004121/0.01006, allocations: 216.2 kB / 294.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.01037, allocations: 176.1 kB / 295 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.01041, allocations: 8 kB / 295 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.01058, allocations: 43.92 kB / 295 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.01075, allocations: 128.3 kB / 295.2 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.01086, allocations: 55.69 kB / 295.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.01134, allocations: 274.9 kB / 295.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.004e-05/0.01137, allocations: 4 kB / 295.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.01137, allocations: 0 / 295.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.509e-05/0.01141, allocations: 0 / 295.5 MB, free: 3.422 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.001166/0.01257, allocations: 0.6892 MB / 296.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.01262, allocations: 12.62 kB / 296.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.615e-05/0.01272, allocations: 32.83 kB / 296.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.01318, allocations: 297.9 kB / 296.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.0132, allocations: 384 / 296.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.01323, allocations: 12.36 kB / 296.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.01344, allocations: 83.47 kB / 296.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.01345, allocations: 3.938 kB / 296.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.01346, allocations: 11.98 kB / 296.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.01347, allocations: 0 / 296.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.276e-05/0.01353, allocations: 21.58 kB / 296.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.01378, allocations: 118.3 kB / 296.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.01396, allocations: 74.86 kB / 296.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.01401, allocations: 37.64 kB / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.01402, allocations: 0 / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.01422, allocations: 99.89 kB / 297 MB, free: 1.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.01423, allocations: 0 / 297 MB, free: 1.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002727/0.0145, allocations: 107.2 kB / 297.1 MB, free: 1.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.01456, allocations: 81.05 kB / 297.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/0.01523, allocations: 0.5945 MB / 297.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.01525, allocations: 25.7 kB / 297.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/0.01535, allocations: 153.3 kB / 297.9 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.01541, allocations: 35.73 kB / 297.9 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.01547, allocations: 25.7 kB / 298 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.01564, allocations: 366.7 kB / 298.3 MB, free: 372 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.915e-05/0.01568, allocations: 14.81 kB / 298.3 MB, free: 356 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.695e-05/0.01574, allocations: 45.78 kB / 298.4 MB, free: 300 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.01585, allocations: 68.33 kB / 298.5 MB, free: 216 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.01585, allocations: 0 / 298.5 MB, free: 216 kB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002107/0.01606, allocations: 107.2 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.01609, allocations: 8 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.0161, allocations: 3.938 kB / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.01612, allocations: 0 / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.01628, allocations: 31.86 kB / 298.6 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.833e-05/0.01631, allocations: 4 kB / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.01652, allocations: 8 kB / 298.6 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.01653, allocations: 0 / 298.6 MB, free: 44 kB / 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.0001926/0.01673, allocations: 129.5 kB / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.01678, allocations: 28.03 kB / 298.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.01703, allocations: 121.8 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01703, allocations: 0 / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01704, allocations: 3.938 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.01705, allocations: 7.984 kB / 298.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.01726, allocations: 165.7 kB / 299.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.01726, allocations: 3.984 kB / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.01733, allocations: 12.19 kB / 299.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.01738, allocations: 55.64 kB / 299.1 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.01739, allocations: 4 kB / 299.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.0174, allocations: 4 kB / 299.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.0174, allocations: 4 kB / 299.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.01741, allocations: 3.938 kB / 299.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.01757, allocations: 136.3 kB / 299.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.0176, allocations: 0 / 299.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.566e-05/0.01765, allocations: 8 kB / 299.3 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.01769, allocations: 19.84 kB / 299.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.0177, allocations: 7.938 kB / 299.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002423/0.01794, allocations: 315.2 kB / 299.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01795, allocations: 0 / 299.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.01812, allocations: 47.92 kB / 299.7 MB, free: 14.93 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.001327/0.01945, allocations: 0.5477 MB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.01958, allocations: 52.41 kB / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/0.0196, allocations: 8 kB / 300.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.357e-05/0.01964, allocations: 40.77 kB / 300.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.01993, allocations: 86.23 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.02094, allocations: 0.6467 MB / 301 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.466e-05/0.02102, allocations: 132.2 kB / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.783e-05/0.0211, allocations: 39.44 kB / 301.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.02121, allocations: 103.3 kB / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of SimCode: time 1.383e-06/0.02121, allocations: 0 / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Templates: time 0.006804/0.02802, allocations: 4.308 MB / 305.6 MB, free: 9.297 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3956938795745373]