Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.001334/0.001334, allocations: 77 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.0016/0.0016, allocations: 173 kB / 24.06 MB, free: 448 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.019/1.019, allocations: 158.6 MB / 185.9 MB, free: 2.797 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.1358/0.1358, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/3.046e-05, allocations: 2.312 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003809/0.003839, allocations: 1.729 MB / 349.9 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.005257, allocations: 0.792 MB / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.005386, allocations: 0 / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.005751, allocations: 43.77 kB / 350.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.006011, allocations: 59.69 kB / 350.8 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.006313, allocations: 87.64 kB / 350.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.006492, allocations: 95.69 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.006608, allocations: 8.234 kB / 351 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.006721, allocations: 51.83 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.61e-05/0.006807, allocations: 31.91 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.006828, allocations: 4 kB / 351.1 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.006937, allocations: 43.91 kB / 351.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.007004, allocations: 19.88 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.007064, allocations: 19.92 kB / 351.2 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.007292, allocations: 103.6 kB / 351.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.007296, allocations: 0 / 351.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.007298, allocations: 0 / 351.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.007303, allocations: 0 / 351.3 MB, free: 5.996 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.0004541/0.007757, allocations: 447.8 kB / 351.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.007804, allocations: 19.97 kB / 351.7 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.007852, allocations: 12.84 kB / 351.7 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.008012, allocations: 149.1 kB / 351.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.008032, allocations: 4.375 kB / 351.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.008052, allocations: 4.375 kB / 351.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.008203, allocations: 58.94 kB / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.008216, allocations: 7.875 kB / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.008224, allocations: 4 kB / 352 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.00823, allocations: 3.984 kB / 352 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.11e-05/0.008262, allocations: 11.98 kB / 352 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.008517, allocations: 256.4 kB / 352.2 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.736e-05/0.008614, allocations: 55.16 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.008642, allocations: 23.61 kB / 352.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.008662, allocations: 0 / 352.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.008774, allocations: 68.98 kB / 352.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.008776, allocations: 0 / 352.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004038/0.009179, allocations: 133.5 kB / 352.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.009203, allocations: 51.41 kB / 352.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.009323, allocations: 230.5 kB / 352.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.009335, allocations: 33.7 kB / 352.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.009385, allocations: 150.8 kB / 353 MB, free: 4.133 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.009418, allocations: 27.78 kB / 353 MB, free: 4.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.009461, allocations: 31.36 kB / 353 MB, free: 4.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.009553, allocations: 0.5001 MB / 353.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.009579, allocations: 8 kB / 353.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/0.009614, allocations: 31.3 kB / 353.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.174e-05/0.009676, allocations: 47.34 kB / 353.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.009677, allocations: 0 / 353.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001392/0.009816, allocations: 93.55 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.009834, allocations: 8 kB / 353.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.009843, allocations: 80 / 353.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.009862, allocations: 0 / 353.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.336e-05/0.009955, allocations: 15.98 kB / 353.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.009961, allocations: 7.984 kB / 353.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.01001, allocations: 0 / 353.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.01002, allocations: 7.938 kB / 353.7 MB, free: 3.316 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 8.408e-05/0.0101, allocations: 166.8 kB / 353.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.01012, allocations: 15.92 kB / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.0103, allocations: 99.12 kB / 354 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.01031, allocations: 7.938 kB / 354 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.01031, allocations: 0 / 354 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01032, allocations: 0 / 354 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.01061, allocations: 365.5 kB / 354.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.01061, allocations: 4 kB / 354.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.01065, allocations: 8 kB / 354.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01066, allocations: 0 / 354.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.01066, allocations: 384 / 354.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.01067, allocations: 8.031 kB / 354.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.01067, allocations: 4 kB / 354.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.01084, allocations: 251.4 kB / 354.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/0.01086, allocations: 15.89 kB / 354.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.01089, allocations: 8 kB / 354.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.01098, allocations: 0 / 354.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.01102, allocations: 7.984 kB / 354.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.01103, allocations: 4 kB / 354.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.195e-05/0.01111, allocations: 159.8 kB / 354.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01111, allocations: 0 / 354.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003182/0.01143, allocations: 31.92 kB / 354.9 MB, free: 2.105 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.001689/0.01312, allocations: 436.6 kB / 355.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.01327, allocations: 43.61 kB / 355.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.01327, allocations: 0 / 355.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.769e-05/0.01332, allocations: 31.77 kB / 355.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.0137, allocations: 43.95 kB / 355.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.01419, allocations: 221.2 kB / 355.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.9e-05/0.01424, allocations: 71.27 kB / 355.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.01429, allocations: 12.48 kB / 355.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.01438, allocations: 94.19 kB / 355.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of SimCode: time 1.392e-06/0.01438, allocations: 3.938 kB / 355.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of Templates: time 0.006081/0.02046, allocations: 2.013 MB / 357.8 MB, free: 15.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.312013586051762]