Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.0007823/0.0007823, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009526/0.0009526, allocations: 165 kB / 23.8 MB, free: 0.7734 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.019/1.019, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1644/0.1644, 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.568e-05, allocations: 2.312 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.006346/0.006372, allocations: 1.736 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.007342, allocations: 0.7959 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.007408, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.007733, allocations: 47.75 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.00795, allocations: 51.7 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.008164, allocations: 87.69 kB / 350.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.008305, allocations: 95.7 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.057e-05/0.008386, allocations: 12.2 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003131/0.01152, allocations: 55.78 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.862e-05/0.01161, allocations: 23.92 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.01162, allocations: 4 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.18e-05/0.01172, allocations: 43.91 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.01176, allocations: 19.92 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.0118, allocations: 15.94 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.01197, allocations: 99.59 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01198, allocations: 7.922 kB / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01198, allocations: 4 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.01198, allocations: 0 / 350.8 MB, free: 6.254 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.000357/0.01234, allocations: 439.9 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.01237, allocations: 8.031 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.01242, allocations: 12.89 kB / 351.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.01257, allocations: 144.4 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.01258, allocations: 4.375 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.0126, allocations: 8.312 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.0127, allocations: 62.94 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.01271, allocations: 3.938 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.01272, allocations: 11.94 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.01273, allocations: 0 / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.332e-05/0.01276, allocations: 8 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.01301, allocations: 283.8 kB / 351.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.84e-05/0.01311, allocations: 47.17 kB / 351.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.01314, allocations: 27.55 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.01315, allocations: 0 / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.76e-05/0.01324, allocations: 69.05 kB / 351.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.01324, allocations: 0 / 351.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003774/0.01362, allocations: 165.6 kB / 352.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.01364, allocations: 51.41 kB / 352.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.01374, allocations: 224.1 kB / 352.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.01375, allocations: 33.7 kB / 352.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.01379, allocations: 142.9 kB / 352.6 MB, free: 4.363 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.01381, allocations: 35.73 kB / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.01385, allocations: 27.38 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.452e-05/0.01389, allocations: 0.4962 MB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.476e-05/0.01392, allocations: 11.98 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.01395, allocations: 39.3 kB / 353.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.79e-05/0.01401, allocations: 55.38 kB / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01401, allocations: 0 / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001109/0.01412, allocations: 89.56 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.01414, allocations: 4 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.01414, allocations: 0 / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.01415, allocations: 7.984 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.01422, allocations: 16 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.01423, allocations: 0 / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.01426, allocations: 7.984 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.01428, allocations: 4.031 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 6.663e-05/0.01435, allocations: 168.5 kB / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.01437, allocations: 15.91 kB / 353.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.01454, allocations: 102.6 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01455, allocations: 4 kB / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.01455, allocations: 3.938 kB / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01455, allocations: 0 / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.01482, allocations: 385 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.01482, allocations: 3.938 kB / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.01486, allocations: 12.03 kB / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.01486, allocations: 0 / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.01487, allocations: 11.98 kB / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01487, allocations: 0 / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01488, allocations: 0 / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.01501, allocations: 259.4 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.01502, allocations: 7.953 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.01504, allocations: 4 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/0.0151, allocations: 7.938 kB / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.01513, allocations: 7.984 kB / 354.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.01514, allocations: 4 kB / 354.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.624e-05/0.01521, allocations: 172 kB / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01521, allocations: 0 / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.01546, allocations: 27.92 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.00101/0.01647, allocations: 434 kB / 354.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.0166, allocations: 59.52 kB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.0166, allocations: 0 / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.278e-05/0.01665, allocations: 35.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.0003033/0.01695, allocations: 35.95 kB / 355.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.02037, allocations: 217.7 kB / 355.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.693e-05/0.0204, allocations: 71.33 kB / 355.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.723e-05/0.02045, allocations: 12.48 kB / 355.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.02049, allocations: 20.48 kB / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02049, allocations: 0 / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of Templates: time 0.007109/0.0276, allocations: 1.976 MB / 357.4 MB, free: 15.47 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.0977546838112175]