Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.001536/0.001536, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001839/0.001839, allocations: 173 kB / 24.05 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 0.9668/0.9668, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1572/0.1572, 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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 3.984 kB / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.349e-05, allocations: 10.25 kB / 348.2 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002286/0.002319, allocations: 1.722 MB / 349.9 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.003308, allocations: 0.7881 MB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.296e-05/0.003391, allocations: 4 kB / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.003665, allocations: 47.7 kB / 350.8 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.00385, allocations: 43.77 kB / 350.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.004058, allocations: 91.64 kB / 350.9 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.004193, allocations: 95.69 kB / 351 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.004276, allocations: 12.16 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.073e-05/0.004357, allocations: 51.89 kB / 351.1 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.458e-05/0.004422, allocations: 23.92 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.004439, allocations: 4 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-05/0.004519, allocations: 39.92 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.004569, allocations: 31.84 kB / 351.2 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.004603, allocations: 19.92 kB / 351.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.004746, allocations: 99.59 kB / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004749, allocations: 0 / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00475, allocations: 0 / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.004753, allocations: 4 kB / 351.3 MB, free: 6 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.0003533/0.005107, allocations: 435.9 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.005147, allocations: 8.031 kB / 351.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.005188, allocations: 20.88 kB / 351.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.005306, allocations: 140.4 kB / 351.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.005323, allocations: 12.36 kB / 351.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.005339, allocations: 4.328 kB / 351.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.00545, allocations: 70.81 kB / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.005458, allocations: 3.938 kB / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.005465, allocations: 0 / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.00547, allocations: 0 / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.487e-05/0.005495, allocations: 11.98 kB / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.0057, allocations: 252.4 kB / 352.2 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.426e-05/0.005784, allocations: 55.11 kB / 352.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.005803, allocations: 19.69 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.00582, allocations: 3.984 kB / 352.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.005933, allocations: 72.97 kB / 352.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.005935, allocations: 0 / 352.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002837/0.006218, allocations: 137.4 kB / 352.5 MB, free: 4.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.571e-05/0.006234, allocations: 51.41 kB / 352.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.527e-05/0.006309, allocations: 213.8 kB / 352.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.006318, allocations: 33.7 kB / 352.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.006351, allocations: 146.8 kB / 352.9 MB, free: 4.168 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.006374, allocations: 31.78 kB / 353 MB, free: 4.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.006402, allocations: 35.36 kB / 353 MB, free: 4.094 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.006449, allocations: 0.4962 MB / 353.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.006464, allocations: 11.94 kB / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.006486, allocations: 27.36 kB / 353.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.821e-05/0.006524, allocations: 51.34 kB / 353.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.006526, allocations: 0 / 353.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.885e-05/0.006604, allocations: 85.55 kB / 353.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.006616, allocations: 4 kB / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.00662, allocations: 4.109 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.006633, allocations: 4 kB / 353.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.006692, allocations: 19.98 kB / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.006695, allocations: 3.984 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/0.006724, allocations: 4 kB / 353.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.006728, allocations: 0 / 353.7 MB, free: 3.352 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.121e-05/0.006779, allocations: 168.5 kB / 353.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.006795, allocations: 19.84 kB / 353.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.006927, allocations: 98.38 kB / 354 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.00693, allocations: 0 / 354 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.006932, allocations: 4 kB / 354 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006935, allocations: 3.938 kB / 354 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.007133, allocations: 361.6 kB / 354.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.007135, allocations: 0 / 354.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.00716, allocations: 8 kB / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007163, allocations: 0 / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.00717, allocations: 8.375 kB / 354.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.007171, allocations: 0 / 354.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.007173, allocations: 4 kB / 354.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.958e-05/0.007273, allocations: 259.4 kB / 354.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.007283, allocations: 11.97 kB / 354.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.007298, allocations: 4 kB / 354.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.936e-05/0.007337, allocations: 0 / 354.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.007361, allocations: 11.98 kB / 354.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.007372, allocations: 4 kB / 354.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.02e-05/0.007412, allocations: 160 kB / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.007412, allocations: 0 / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.007583, allocations: 23.94 kB / 354.8 MB, free: 2.148 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.000915/0.008498, allocations: 438.3 kB / 355.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.576e-05/0.008594, allocations: 51.55 kB / 355.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.008595, allocations: 0 / 355.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.008626, allocations: 31.81 kB / 355.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.008857, allocations: 35.95 kB / 355.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.009126, allocations: 217.3 kB / 355.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.099e-05/0.009157, allocations: 71.34 kB / 355.7 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.151e-05/0.009189, allocations: 16.61 kB / 355.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.009243, allocations: 86.19 kB / 355.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.009244, allocations: 0 / 355.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of Templates: time 0.003642/0.01289, allocations: 2.017 MB / 357.8 MB, free: 15.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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.25456930603832]