Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.00108/0.00108, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001006/0.001006, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.012/1.012, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1406/0.1406, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.05e-05, allocations: 8.219 kB / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.001917/0.001937, allocations: 1.726 MB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008351/0.002772, allocations: 0.7881 MB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.078e-05/0.002843, allocations: 0 / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.003115, allocations: 55.69 kB / 350.8 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.003309, allocations: 55.75 kB / 350.8 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.003531, allocations: 91.62 kB / 350.9 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.003665, allocations: 95.64 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.555e-05/0.003741, allocations: 8.234 kB / 351 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.003813, allocations: 55.88 kB / 351.1 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.003872, allocations: 19.92 kB / 351.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.003889, allocations: 4 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.549e-05/0.003955, allocations: 47.91 kB / 351.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.98e-05/0.003995, allocations: 23.86 kB / 351.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.004025, allocations: 15.94 kB / 351.2 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.004154, allocations: 107.6 kB / 351.3 MB, free: 5.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004156, allocations: 4 kB / 351.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.004157, allocations: 0 / 351.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.00416, allocations: 7.938 kB / 351.3 MB, free: 5.98 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.0003188/0.004479, allocations: 455.8 kB / 351.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.004511, allocations: 8.031 kB / 351.8 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.004543, allocations: 16.84 kB / 351.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.004653, allocations: 152.4 kB / 351.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.004667, allocations: 4.375 kB / 351.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.004681, allocations: 8.312 kB / 351.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.888e-05/0.00477, allocations: 58.94 kB / 352 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.00478, allocations: 3.938 kB / 352 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.004786, allocations: 4 kB / 352 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.004791, allocations: 4 kB / 352 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.004812, allocations: 7.984 kB / 352 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.004997, allocations: 268.4 kB / 352.3 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.76e-05/0.005064, allocations: 51.09 kB / 352.3 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.005083, allocations: 19.67 kB / 352.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.005098, allocations: 0 / 352.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.218e-05/0.00517, allocations: 72.97 kB / 352.4 MB, free: 4.742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.005171, allocations: 0 / 352.4 MB, free: 4.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000285/0.005456, allocations: 133.5 kB / 352.5 MB, free: 4.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.005475, allocations: 51.41 kB / 352.6 MB, free: 4.543 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/0.005562, allocations: 245.8 kB / 352.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.005576, allocations: 25.7 kB / 352.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.005615, allocations: 158.8 kB / 353 MB, free: 4.094 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.00564, allocations: 35.77 kB / 353 MB, free: 4.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.005669, allocations: 23.38 kB / 353.1 MB, free: 4.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.82e-05/0.005717, allocations: 0.5078 MB / 353.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.005732, allocations: 11.98 kB / 353.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.005753, allocations: 31.36 kB / 353.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.005792, allocations: 47.36 kB / 353.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.005792, allocations: 0 / 353.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.9e-05/0.005871, allocations: 89.55 kB / 353.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.005881, allocations: 7.984 kB / 353.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.005886, allocations: 4.078 kB / 353.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.005898, allocations: 0 / 353.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.005951, allocations: 12 kB / 353.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.005955, allocations: 7.922 kB / 353.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.00598, allocations: 4 kB / 353.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.005985, allocations: 3.984 kB / 353.8 MB, free: 3.27 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 4.959e-05/0.006034, allocations: 168.6 kB / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.006048, allocations: 19.84 kB / 354 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.006159, allocations: 99.06 kB / 354.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.006162, allocations: 4 kB / 354.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.006164, allocations: 0 / 354.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006167, allocations: 0 / 354.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.006351, allocations: 365.6 kB / 354.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006352, allocations: 0 / 354.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.006372, allocations: 12.36 kB / 354.4 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.006374, allocations: 4.031 kB / 354.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.00638, allocations: 4 kB / 354.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.006382, allocations: 4 kB / 354.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006382, allocations: 0 / 354.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.128e-05/0.006464, allocations: 255.4 kB / 354.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-06/0.006474, allocations: 11.91 kB / 354.7 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.006487, allocations: 4 kB / 354.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.922e-05/0.006536, allocations: 7.984 kB / 354.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.006559, allocations: 4 kB / 354.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.006569, allocations: 3.984 kB / 354.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.352e-05/0.006613, allocations: 175.1 kB / 354.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006613, allocations: 3.938 kB / 354.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.006767, allocations: 27.92 kB / 354.9 MB, free: 2.039 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.0008055/0.007573, allocations: 441.9 kB / 355.4 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.776e-05/0.007661, allocations: 51.53 kB / 355.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.007662, allocations: 0 / 355.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.039e-05/0.007692, allocations: 31.83 kB / 355.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.00791, allocations: 40.17 kB / 355.5 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.008197, allocations: 233.4 kB / 355.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.139e-05/0.008228, allocations: 71.33 kB / 355.8 MB, free: 1.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.159e-05/0.00826, allocations: 16.48 kB / 355.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.008313, allocations: 86.19 kB / 355.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.008314, allocations: 0 / 355.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of Templates: time 0.003373/0.01169, allocations: 2.028 MB / 357.9 MB, free: 15.12 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.239472114946693]