Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.001609/0.001609, allocations: 91.33 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.001736/0.001736, 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 0.957/0.957, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1488/0.1488, 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.606e-05, allocations: 12.22 kB / 347.8 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002372/0.002408, allocations: 1.734 MB / 349.5 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.00342, allocations: 0.7959 MB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.003512, allocations: 0 / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.003849, allocations: 83.69 kB / 350.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.004091, allocations: 83.59 kB / 350.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.004342, allocations: 83.7 kB / 350.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.004502, allocations: 111.7 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.004599, allocations: 4.234 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.768e-05/0.004677, allocations: 67.75 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.004765, allocations: 55.86 kB / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.004786, allocations: 4 kB / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.835e-05/0.004874, allocations: 43.92 kB / 350.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.004937, allocations: 23.86 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.004984, allocations: 19.92 kB / 350.9 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.005149, allocations: 99.66 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.005152, allocations: 3.984 kB / 351 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.005153, allocations: 4 kB / 351 MB, free: 6.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.005157, allocations: 3.938 kB / 351 MB, free: 6.125 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.0004261/0.005583, allocations: 447.8 kB / 351.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.005621, allocations: 12.03 kB / 351.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.00567, allocations: 20.81 kB / 351.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.005833, allocations: 152.4 kB / 351.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.005853, allocations: 8.359 kB / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.005876, allocations: 384 / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.006001, allocations: 62.94 kB / 351.7 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.006012, allocations: 3.938 kB / 351.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.006023, allocations: 4 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.006031, allocations: 0 / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.572e-05/0.006067, allocations: 19.92 kB / 351.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.006388, allocations: 283.8 kB / 352 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.006492, allocations: 51.17 kB / 352 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.006523, allocations: 19.62 kB / 352 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.00654, allocations: 3.938 kB / 352 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.006642, allocations: 69.05 kB / 352.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.006643, allocations: 4 kB / 352.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003817/0.007025, allocations: 153.5 kB / 352.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.007047, allocations: 55.41 kB / 352.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.007155, allocations: 242.6 kB / 352.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.007163, allocations: 29.7 kB / 352.6 MB, free: 4.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.007199, allocations: 150.9 kB / 352.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.007229, allocations: 23.84 kB / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.007257, allocations: 27.38 kB / 352.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.007312, allocations: 0.4962 MB / 353.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.007336, allocations: 12.17 kB / 353.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.368e-05/0.00737, allocations: 43.38 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.227e-05/0.007422, allocations: 55.23 kB / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.007423, allocations: 0 / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001099/0.007533, allocations: 97.52 kB / 353.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.007553, allocations: 8 kB / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.00756, allocations: 0 / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.007582, allocations: 0 / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.00766, allocations: 12 kB / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.007667, allocations: 0 / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.007698, allocations: 12.02 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.007705, allocations: 4 kB / 353.5 MB, free: 3.359 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.309e-05/0.007758, allocations: 172.4 kB / 353.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.007772, allocations: 11.91 kB / 353.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.007909, allocations: 107.3 kB / 353.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007912, allocations: 0 / 353.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.007916, allocations: 4 kB / 353.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.007919, allocations: 0 / 353.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.00817, allocations: 396.9 kB / 354.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.008172, allocations: 0 / 354.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.0082, allocations: 19.95 kB / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.008203, allocations: 4 kB / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.00821, allocations: 0 / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.008212, allocations: 0 / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.008214, allocations: 0 / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.008327, allocations: 267.4 kB / 354.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.00834, allocations: 15.91 kB / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.008359, allocations: 0 / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.301e-05/0.008402, allocations: 3.984 kB / 354.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.008434, allocations: 4 kB / 354.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.008449, allocations: 15.98 kB / 354.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.259e-05/0.008512, allocations: 175.1 kB / 354.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.008512, allocations: 0 / 354.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001796/0.008692, allocations: 24 kB / 354.7 MB, free: 2.074 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.000889/0.009581, allocations: 447.2 kB / 355.1 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.009709, allocations: 51.55 kB / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009711, allocations: 0 / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.009747, allocations: 35.61 kB / 355.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.009986, allocations: 36 kB / 355.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.01036, allocations: 225.4 kB / 355.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.569e-05/0.01039, allocations: 67.33 kB / 355.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.486e-05/0.01043, allocations: 16.42 kB / 355.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.01046, allocations: 24.48 kB / 355.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01046, allocations: 0 / 355.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of Templates: time 0.003693/0.01416, allocations: 1.848 MB / 357.4 MB, free: 15.4 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.225672412663698]