Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.001582/0.001582, allocations: 91.22 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.001876/0.001876, 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.9619/0.9619, allocations: 158.6 MB / 185.7 MB, free: 2.906 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.1405/0.1405, 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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 3.938 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.358e-05/3.56e-05, allocations: 8.219 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003181/0.003216, allocations: 1.738 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.004423, allocations: 0.7998 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.429e-05/0.004508, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.004861, allocations: 43.77 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.005104, allocations: 59.69 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.005359, allocations: 83.7 kB / 350.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.005553, allocations: 99.69 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.005657, allocations: 4.234 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.005752, allocations: 55.77 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.005829, allocations: 27.91 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.00585, allocations: 4 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.005959, allocations: 47.91 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.006032, allocations: 15.94 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.006097, allocations: 15.92 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.006338, allocations: 107.6 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.006343, allocations: 0 / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.006344, allocations: 0 / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.006351, allocations: 0 / 350.8 MB, free: 6.254 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.000595/0.006946, allocations: 451.8 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.007001, allocations: 8.031 kB / 351.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.007078, allocations: 16.84 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.007323, allocations: 149.8 kB / 351.5 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.00735, allocations: 384 / 351.5 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.007383, allocations: 8.375 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.007555, allocations: 62.94 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.007567, allocations: 3.938 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.007579, allocations: 0 / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.007589, allocations: 4 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.007632, allocations: 11.92 kB / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.007976, allocations: 287.8 kB / 351.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.008096, allocations: 55.11 kB / 351.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.008131, allocations: 23.61 kB / 351.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.008149, allocations: 7.938 kB / 351.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.008256, allocations: 69.05 kB / 352 MB, free: 4.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.008258, allocations: 0 / 352 MB, free: 4.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000478/0.008736, allocations: 153.6 kB / 352.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.008761, allocations: 55.41 kB / 352.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.008896, allocations: 236 kB / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.008908, allocations: 25.7 kB / 352.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.008953, allocations: 150.9 kB / 352.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.008984, allocations: 35.73 kB / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.009025, allocations: 23.38 kB / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.009082, allocations: 0.5001 MB / 353.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.009115, allocations: 15.98 kB / 353.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.041e-05/0.009156, allocations: 35.36 kB / 353.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.911e-05/0.009225, allocations: 51.25 kB / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.009226, allocations: 0 / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001358/0.009362, allocations: 93.56 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.009375, allocations: 4 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.009381, allocations: 0 / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.009407, allocations: 4 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.009501, allocations: 12 kB / 353.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.009507, allocations: 4.031 kB / 353.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.009546, allocations: 7.984 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.009554, allocations: 4 kB / 353.4 MB, free: 3.504 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 6.185e-05/0.009615, allocations: 160.5 kB / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.009644, allocations: 23.84 kB / 353.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.009836, allocations: 107.3 kB / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.009839, allocations: 0 / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.009844, allocations: 3.984 kB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.009848, allocations: 0 / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.01016, allocations: 393 kB / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.01016, allocations: 0 / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.01021, allocations: 15.94 kB / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01021, allocations: 3.984 kB / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.01022, allocations: 0 / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.01023, allocations: 7.938 kB / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01023, allocations: 0 / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.01054, allocations: 263.4 kB / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.01056, allocations: 7.953 kB / 354.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.01058, allocations: 0 / 354.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.01068, allocations: 4 kB / 354.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.01072, allocations: 12.02 kB / 354.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.01074, allocations: 4 kB / 354.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.775e-05/0.01081, allocations: 175.8 kB / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01081, allocations: 0 / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.01099, allocations: 23.94 kB / 354.5 MB, free: 2.234 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.0008829/0.01187, allocations: 439.4 kB / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.01201, allocations: 59.52 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01201, allocations: 4 kB / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.01206, allocations: 39.67 kB / 355.1 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.01232, allocations: 27.84 kB / 355.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.01268, allocations: 221.4 kB / 355.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.213e-05/0.01271, allocations: 67.34 kB / 355.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.255e-05/0.01274, allocations: 16.47 kB / 355.4 MB, free: 1.414 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.01278, allocations: 16.5 kB / 355.4 MB, free: 1.398 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01278, allocations: 4.062 kB / 355.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of Templates: time 0.00356/0.01634, allocations: 1.841 MB / 357.3 MB, free: 15.58 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.296040471177548]