Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001959/0.001959, allocations: 87.67 kB / 20.96 MB, free: 3.586 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.002001/0.002001, allocations: 161.3 kB / 24.27 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.617/1.617, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3926/0.3926, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 377.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.245e-05/3.388e-05, allocations: 2.312 kB / 377.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.0036/0.003634, allocations: 1.723 MB / 379.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.005691, allocations: 1.001 MB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.005759, allocations: 7.938 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.006081, allocations: 55.69 kB / 380.2 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.006471, allocations: 103.5 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.00669, allocations: 71.67 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.006912, allocations: 119.5 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.007, allocations: 4 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.007122, allocations: 51.89 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.927e-05/0.007211, allocations: 27.84 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.007246, allocations: 8 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.007363, allocations: 51.86 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.189e-05/0.007434, allocations: 23.92 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.007648, allocations: 31.84 kB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.007909, allocations: 123.6 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.007913, allocations: 0 / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007914, allocations: 0 / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.007919, allocations: 3.938 kB / 380.8 MB, free: 15.44 MB / 362.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.0007294/0.008648, allocations: 479.3 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.008688, allocations: 12.03 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.008756, allocations: 16.84 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.009033, allocations: 177.2 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.009047, allocations: 384 / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.00907, allocations: 4.375 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.009239, allocations: 54.23 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.009253, allocations: 3.938 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.009263, allocations: 0 / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.009267, allocations: 0 / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.704e-05/0.009344, allocations: 19.98 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.009804, allocations: 315.7 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.009992, allocations: 63.14 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.01006, allocations: 27.62 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.01007, allocations: 4 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.01025, allocations: 76.98 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.01025, allocations: 0 / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005877/0.01084, allocations: 185.3 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.01089, allocations: 59.34 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.01121, allocations: 293.6 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.01124, allocations: 25.7 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.01137, allocations: 170.9 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.0114, allocations: 27.78 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.01146, allocations: 35.38 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002852/0.01174, allocations: 0.5157 MB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.0118, allocations: 16 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.01188, allocations: 43.36 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.01202, allocations: 75.3 kB / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01202, allocations: 0 / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002091/0.01223, allocations: 101.6 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.01225, allocations: 4 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.01226, allocations: 3.984 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.01227, allocations: 4.406 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.01236, allocations: 19.94 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.01237, allocations: 0 / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.01241, allocations: 8 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.01243, allocations: 4 kB / 383.6 MB, free: 12.41 MB / 362.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 0.0001395/0.01257, allocations: 168.5 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.01261, allocations: 23.91 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.01288, allocations: 115.1 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01288, allocations: 0 / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.01288, allocations: 0 / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01288, allocations: 4 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008083/0.01369, allocations: 436.9 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.0137, allocations: 4 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.01374, allocations: 11.98 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01374, allocations: 0 / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.01376, allocations: 4 kB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.01376, allocations: 4 kB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01376, allocations: 3.938 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.0141, allocations: 267.5 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.01413, allocations: 15.84 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.01416, allocations: 8.031 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.01423, allocations: 7.984 kB / 384.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.01428, allocations: 7.984 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.01429, allocations: 4 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002092/0.0145, allocations: 208.5 kB / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0145, allocations: 0 / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.01478, allocations: 23.94 kB / 384.9 MB, free: 11.04 MB / 362.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.003546/0.01832, allocations: 0.4941 MB / 385.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.01856, allocations: 71.58 kB / 385.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.01857, allocations: 4 kB / 385.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.683e-05/0.01866, allocations: 35.77 kB / 385.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.01904, allocations: 36.11 kB / 385.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005885/0.01962, allocations: 278.6 kB / 385.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.01975, allocations: 104.9 kB / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.745e-05/0.01981, allocations: 16.97 kB / 385.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.01985, allocations: 20.5 kB / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01985, allocations: 0 / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.005811/0.02566, allocations: 1.888 MB / 387.8 MB, free: 8.285 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.020482830004767]