Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.001281/0.001281, 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.001003/0.001003, allocations: 165 kB / 23.79 MB, free: 0.7773 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.9023/0.9023, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.1872/0.1872, allocations: 32.38 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.689e-05, allocations: 6.25 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002175/0.002202, allocations: 1.876 MB / 349.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009717/0.003173, allocations: 0.8855 MB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.003253, allocations: 3.938 kB / 350.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.00365, allocations: 267.2 kB / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.003902, allocations: 179.4 kB / 351 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.004141, allocations: 151.5 kB / 351.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.004334, allocations: 251.2 kB / 351.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.004432, allocations: 9.812 kB / 351.4 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.004548, allocations: 147.6 kB / 351.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.004689, allocations: 191.6 kB / 351.7 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.004712, allocations: 8 kB / 351.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.004789, allocations: 47.92 kB / 351.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.004855, allocations: 59.77 kB / 351.8 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.004903, allocations: 39.8 kB / 351.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.005105, allocations: 187.3 kB / 352 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005107, allocations: 0 / 352 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.005109, allocations: 0 / 352 MB, free: 5.074 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.005114, allocations: 0 / 352 MB, free: 5.074 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000435/0.005549, allocations: 0.5963 MB / 352.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.005586, allocations: 11.97 kB / 352.6 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.005641, allocations: 36.73 kB / 352.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.005826, allocations: 220.6 kB / 352.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.005845, allocations: 8.375 kB / 352.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.005871, allocations: 4.375 kB / 352.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.006018, allocations: 102.3 kB / 353 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.006028, allocations: 3.938 kB / 353 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.00604, allocations: 4 kB / 353 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.006048, allocations: 11.94 kB / 353 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.915e-05/0.006097, allocations: 19.97 kB / 353 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.006433, allocations: 0.4908 MB / 353.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.006576, allocations: 114.2 kB / 353.6 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/0.006621, allocations: 35.36 kB / 353.7 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.006638, allocations: 4 kB / 353.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.006762, allocations: 124.2 kB / 353.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.006764, allocations: 0 / 353.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005629/0.007327, allocations: 348.8 kB / 354.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.007366, allocations: 81.11 kB / 354.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.007569, allocations: 414.8 kB / 354.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.007579, allocations: 29.7 kB / 354.7 MB, free: 2.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.007642, allocations: 215.1 kB / 354.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.007675, allocations: 51.62 kB / 354.9 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.007714, allocations: 43.31 kB / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.007774, allocations: 0.5274 MB / 355.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-05/0.007814, allocations: 27.98 kB / 355.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.187e-05/0.007866, allocations: 73.77 kB / 355.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.706e-05/0.007953, allocations: 94.88 kB / 355.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.007954, allocations: 0 / 355.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001572/0.008111, allocations: 169.3 kB / 355.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.008127, allocations: 4 kB / 355.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.008132, allocations: 0 / 355.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.008147, allocations: 8.062 kB / 355.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.008243, allocations: 31.92 kB / 355.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.00825, allocations: 4 kB / 355.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.008293, allocations: 11.94 kB / 355.9 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.008302, allocations: 7.984 kB / 355.9 MB, free: 0.9062 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.423e-05/0.008366, allocations: 172.5 kB / 356.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.008395, allocations: 35.77 kB / 356.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.008611, allocations: 184.4 kB / 356.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.008614, allocations: 4 kB / 356.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008618, allocations: 0 / 356.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.008622, allocations: 4 kB / 356.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.009095, allocations: 0.6678 MB / 357 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.009098, allocations: 3.938 kB / 357 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.009146, allocations: 31.92 kB / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.009149, allocations: 0 / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.00916, allocations: 4 kB / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.009163, allocations: 0 / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.009167, allocations: 11.92 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.009454, allocations: 466.3 kB / 357.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.009482, allocations: 27.81 kB / 357.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.009509, allocations: 7.984 kB / 357.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.482e-05/0.009594, allocations: 8 kB / 357.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.00965, allocations: 20.22 kB / 357.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.009671, allocations: 12 kB / 357.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003238/0.009995, allocations: 283.1 kB / 357.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009995, allocations: 0 / 357.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.01022, allocations: 43.92 kB / 357.9 MB, free: 14.85 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009521/0.01117, allocations: 436.3 kB / 358.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.01135, allocations: 103 kB / 358.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01135, allocations: 0 / 358.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.01142, allocations: 55.59 kB / 358.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.01177, allocations: 65.34 kB / 358.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006048/0.01238, allocations: 473 kB / 359 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.917e-05/0.01246, allocations: 99.95 kB / 359.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.014e-05/0.01252, allocations: 34.22 kB / 359.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.01257, allocations: 28.48 kB / 359.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01257, allocations: 4 kB / 359.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of Templates: time 0.00572/0.01829, allocations: 2.937 MB / 362.1 MB, free: 10.69 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.334544240962714]