Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.001206/0.001206, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001455/0.001455, allocations: 165.3 kB / 23.8 MB, free: 0.7773 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.003/1.003, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] 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.1493/0.1493, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.158e-05/3.338e-05, allocations: 12.16 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002518/0.002551, allocations: 1.73 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003611, allocations: 0.7999 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.483e-05/0.003686, allocations: 3.938 kB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.004005, allocations: 35.78 kB / 350.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.004272, allocations: 55.75 kB / 350.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.004496, allocations: 83.7 kB / 350.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.004658, allocations: 107.6 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.004759, allocations: 4.234 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.704e-05/0.004836, allocations: 47.84 kB / 350.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.004909, allocations: 31.89 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.004929, allocations: 7.938 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-05/0.005016, allocations: 43.92 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.005066, allocations: 15.94 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.005105, allocations: 23.91 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.005286, allocations: 95.59 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005289, allocations: 4 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.00529, allocations: 0 / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.005295, allocations: 0 / 350.8 MB, free: 6.262 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004452/0.00574, allocations: 443.9 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.005789, allocations: 8.031 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.005847, allocations: 20.83 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.006024, allocations: 144.4 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.006051, allocations: 384 / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.006082, allocations: 8.328 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.00625, allocations: 58.94 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.006262, allocations: 3.938 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.006273, allocations: 0 / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.006283, allocations: 4 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.153e-05/0.006324, allocations: 15.98 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.006667, allocations: 287.8 kB / 351.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.006778, allocations: 51.17 kB / 351.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.006808, allocations: 19.62 kB / 351.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.006827, allocations: 0 / 351.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.006933, allocations: 68.98 kB / 351.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.006934, allocations: 0 / 351.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.00044/0.007374, allocations: 165.5 kB / 352.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.007398, allocations: 51.41 kB / 352.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.007496, allocations: 232 kB / 352.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.007505, allocations: 25.7 kB / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.007547, allocations: 150.9 kB / 352.6 MB, free: 4.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.007575, allocations: 27.75 kB / 352.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.007609, allocations: 35.36 kB / 352.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.798e-05/0.007667, allocations: 0.4923 MB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.007693, allocations: 12 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.313e-05/0.007726, allocations: 31.36 kB / 353.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.644e-05/0.007782, allocations: 59.23 kB / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.007784, allocations: 4 kB / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001131/0.007897, allocations: 89.61 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.007911, allocations: 4 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.007916, allocations: 4 kB / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.007933, allocations: 0 / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.008017, allocations: 19.92 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.008023, allocations: 0 / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.008054, allocations: 8 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.008061, allocations: 4 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.775e-05/0.008119, allocations: 160.5 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.008135, allocations: 19.94 kB / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.008302, allocations: 110.5 kB / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.008306, allocations: 0 / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.008311, allocations: 0 / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.008319, allocations: 0 / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.008574, allocations: 389 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.008577, allocations: 0 / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.008607, allocations: 11.98 kB / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.008611, allocations: 4 kB / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.008618, allocations: 32 / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.008621, allocations: 7.938 kB / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.008623, allocations: 4 kB / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.008738, allocations: 255.4 kB / 354.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.00875, allocations: 11.95 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.008769, allocations: 7.984 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.186e-05/0.00881, allocations: 0 / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.008849, allocations: 11.98 kB / 354.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.008863, allocations: 7.938 kB / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.586e-05/0.008919, allocations: 168 kB / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008919, allocations: 0 / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001838/0.009103, allocations: 27.94 kB / 354.5 MB, free: 2.273 MB / 282.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: 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.0008594/0.009963, allocations: 431.7 kB / 354.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.01009, allocations: 59.53 kB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.01009, allocations: 4 kB / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.01013, allocations: 31.61 kB / 355 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.01038, allocations: 31.88 kB / 355.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.01072, allocations: 225.8 kB / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.097e-05/0.01075, allocations: 63.34 kB / 355.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.458e-05/0.01078, allocations: 16.47 kB / 355.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.01081, allocations: 16.5 kB / 355.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01081, allocations: 0 / 355.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of Templates: time 0.003896/0.01471, allocations: 1.844 MB / 357.2 MB, free: 15.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.420964094810188]